jp.go.nict.langrid.management.web.utility
クラス LanguagePathUtil
java.lang.Object
jp.go.nict.langrid.management.web.utility.LanguagePathUtil
public class LanguagePathUtil
- extends Object
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LanguagePathUtil
public LanguagePathUtil()
getPathTypeSet
public static Set<LanguagePathType> getPathTypeSet(String typeId,
Set<String> attributeList)
getPathType
public static LanguagePathType getPathType(String typeId,
String attribute)
makeMargedLanguagePathCodeString
public static String makeMargedLanguagePathCodeString(Collection<LanguagePath[]> pathList,
MetaAttribute metaAttribute,
Locale locale)
makeLanguagePathString
public static String makeLanguagePathString(LanguagePath[] paths,
MetaAttribute metaAttribute,
Locale locale)
throws InvalidLanguageTagException
- 例外:
InvalidLanguageTagException
buildLanguagePathMap
public static LanguagePathModel buildLanguagePathMap(String pathValue,
Locale locale)
throws InvalidLanguageTagException
- 例外:
InvalidLanguageTagException
convertToLanguagePairModel
public static LanguagePathModel convertToLanguagePairModel(LanguagePath[] origin,
String pairAttributeId,
String combinationAttributeId)
throws InvalidLanguageTagException
- 言語パスの配列を言語パスのモデルに変換する
- パラメータ:
origin
- 対象の言語パス配列
- 戻り値:
- 結果のマップ
- 例外:
InvalidLanguageTagException
- 不正な言語コードが使用された