Class CLIText.Format

  • All Implemented Interfaces:
    org.kohsuke.args4j.Localizable
    Enclosing class:
    CLIText

    public static class CLIText.Format
    extends java.lang.Object
    implements org.kohsuke.args4j.Localizable
    Formats text strings using Localizable.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String text  
    • Constructor Summary

      Constructors 
      Constructor Description
      Format​(java.lang.String text)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.lang.Object... args)  
      java.lang.String formatWithLocale​(java.util.Locale locale, java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

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

      • text

        final java.lang.String text
    • Constructor Detail

      • Format

        Format​(java.lang.String text)
    • Method Detail

      • formatWithLocale

        public java.lang.String formatWithLocale​(java.util.Locale locale,
                                                 java.lang.Object... args)
        Specified by:
        formatWithLocale in interface org.kohsuke.args4j.Localizable
      • format

        public java.lang.String format​(java.lang.Object... args)
        Specified by:
        format in interface org.kohsuke.args4j.Localizable