gluu
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.gluu.credmanager.core.label.SystemLabelLocator クラス
org.gluu.credmanager.core.label.SystemLabelLocator の継承関係図
Inheritance graph
org.gluu.credmanager.core.label.SystemLabelLocator 連携図
Collaboration graph

公開メンバ関数

 SystemLabelLocator (String path)
 
URL locate (Locale locale) throws MalformedURLException
 

非公開変数類

String path
 

詳解

著者
jgomer

構築子と解体子

◆ SystemLabelLocator()

org.gluu.credmanager.core.label.SystemLabelLocator.SystemLabelLocator ( String  path)
inline
21  {
22  this.path = path;
23  }
String path
Definition: SystemLabelLocator.java:19

関数詳解

◆ locate()

URL org.gluu.credmanager.core.label.SystemLabelLocator.locate ( Locale  locale) throws MalformedURLException
inline
25  {
26 
27  String location = null;
28 
29  if (locale == null) {
30  if (path.substring(path.lastIndexOf("/")).indexOf("_") == -1) {
31  location = path;
32  }
33  } else {
34  if (path.endsWith(locale.toString())) {
35  location = path;
36  }
37  }
38  return location == null ? null : new URL(location + ".properties");
39 
40  }
String path
Definition: SystemLabelLocator.java:19

メンバ詳解

◆ path

String org.gluu.credmanager.core.label.SystemLabelLocator.path
private

このクラス詳解は次のファイルから抽出されました: