public class LanguageUtil extends Object
Constructor and Description |
---|
LanguageUtil() |
Modifier and Type | Method and Description |
---|---|
static String[] |
arrayToCodeArray(Language[] languages) |
static Language[] |
codeArrayToArray(String[] languages) |
static Language[] |
decodeLanguageArray(String value) |
static String |
encodeLanguageArray(Language[] languages) |
public static Language[] decodeLanguageArray(String value) throws InvalidLanguageTagException
InvalidLanguageTagException
public static Language[] codeArrayToArray(String[] languages) throws InvalidLanguageTagException
InvalidLanguageTagException