Class I18NImpl

  • Direct Known Subclasses:
    I18N, I18N, I18N, I18N, I18N, I18N, I18N, I18N, I18N, I18N, I18N

    public class I18NImpl
    extends java.lang.Object
    Class to simplify use of internationalization message strings. Property files are constructed in terms of content as for JAI with one "key=value" pair per line. All such files however have the same name "properties". The resource extractor resolves the extraction of the file from the jar as the package name is included automatically.

    Extenders need only provide a static method getString(String) which calls the static method in this class with the name of the invoking class and returns a String.

    • Constructor Summary

      Constructors 
      Constructor Description
      I18NImpl()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.String getString​(java.lang.String className, java.lang.String key)
      Returns the message string with the specified key from the "properties" file in the package containing the class with the specified name.
      • Methods inherited from class java.lang.Object

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

      • I18NImpl

        public I18NImpl()
    • Method Detail

      • getString

        protected static final java.lang.String getString​(java.lang.String className,
                                                          java.lang.String key)
        Returns the message string with the specified key from the "properties" file in the package containing the class with the specified name.