Class NewsletterBlogUtils


  • public final class NewsletterBlogUtils
    extends java.lang.Object
    Utility class for newsletter document
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONSTANT_IMG_FILE_TYPE
      Image file type
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String formatInteger​(int nNbToformat, int nNbDigits)
      Get the string representation of an integer with a specified number of digits.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CONSTANT_IMG_FILE_TYPE

        public static final java.lang.String CONSTANT_IMG_FILE_TYPE
        Image file type
        See Also:
        Constant Field Values
    • Method Detail

      • formatInteger

        public static java.lang.String formatInteger​(int nNbToformat,
                                                     int nNbDigits)
        Get the string representation of an integer with a specified number of digits.
        Parameters:
        nNbToformat - The number to format
        nNbDigits - The number of digits to add
        Returns:
        The string representing the integer