Package org.molgenis.i18n
Class I18nUtils
- java.lang.Object
-
- org.molgenis.i18n.I18nUtils
-
public class I18nUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetLanguageCode(java.lang.String name)Get the language code of a new with language suffix.static booleanisI18n(java.lang.String name)Check is a name is suffixed with a language code
-
-
-
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
-
-