Class I18nUtils


  • public class I18nUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getLanguageCode​(java.lang.String name)
      Get the language code of a new with language suffix.
      static boolean isI18n​(java.lang.String name)
      Check is a name is suffixed with a language code
      • Methods inherited from class java.lang.Object

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

      • isI18n

        public static boolean isI18n​(java.lang.String name)
        Check is a name is suffixed with a language code
      • getLanguageCode

        public static java.lang.String getLanguageCode​(java.lang.String name)
        Get the language code of a new with language suffix.

        Returns null if not suffixed with language code