Package nablarch.fw.web.i18n
Class FilenameBasedResourcePathRule
java.lang.Object
nablarch.fw.web.i18n.ResourcePathRule
nablarch.fw.web.i18n.FilenameBasedResourcePathRule
ファイル名を言語の切り替えに使用するクラス。
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringcreatePathForLanguage(String pathFromContextRoot, String language) 言語対応のリソースパスを作成する。Methods inherited from class nablarch.fw.web.i18n.ResourcePathRuleconvertToPathFromContextRoot, existsResource, getPathForLanguage, setServletContextCreator
- 
Constructor Details- 
FilenameBasedResourcePathRulepublic FilenameBasedResourcePathRule()
 
- 
- 
Method Details- 
createPathForLanguage言語対応のリソースパスを作成する。下記のパスを返す。 pathFromContextRoot: "/aaa/bbb/ccc.css" language: "ja" 戻り値: "/aaa/bbb/ccc_ja.css" - Specified by:
- createPathForLanguagein class- ResourcePathRule
- Parameters:
- pathFromContextRoot- コンテキストルートからのパス
- language- 言語
- Returns:
- 言語対応のリソースパス
 
 
-