public class LanguagePathUtil extends Object
Constructor and Description |
---|
LanguagePathUtil() |
Modifier and Type | Method and Description |
---|---|
static LanguagePathModel |
buildLanguagePathMap(String pathValue,
Locale locale) |
static LanguagePathModel |
convertToLanguagePairModel(LanguagePath[] origin,
String pairAttributeId,
String combinationAttributeId) |
static LanguagePathType |
getPathType(String typeId,
String attribute) |
static Set<LanguagePathType> |
getPathTypeSet(String typeId,
Set<String> attributeList) |
static String |
makeLanguagePathString(LanguagePath[] paths,
MetaAttribute metaAttribute,
Locale locale) |
static String |
makeMargedLanguagePathCodeString(Collection<LanguagePath[]> pathList,
MetaAttribute metaAttribute,
Locale locale) |
public static Set<LanguagePathType> getPathTypeSet(String typeId, Set<String> attributeList)
public static LanguagePathType getPathType(String typeId, String attribute)
public static String makeMargedLanguagePathCodeString(Collection<LanguagePath[]> pathList, MetaAttribute metaAttribute, Locale locale)
public static String makeLanguagePathString(LanguagePath[] paths, MetaAttribute metaAttribute, Locale locale) throws InvalidLanguageTagException
InvalidLanguageTagException
public static LanguagePathModel buildLanguagePathMap(String pathValue, Locale locale) throws InvalidLanguageTagException
InvalidLanguageTagException
public static LanguagePathModel convertToLanguagePairModel(LanguagePath[] origin, String pairAttributeId, String combinationAttributeId) throws InvalidLanguageTagException
InvalidLanguageTagException
- 不正な言語コードが使用された