public class ResourceBundleProperties extends Properties
Properties
,
ResourceBundle
,
直列化された形式defaults
コンストラクタと説明 |
---|
ResourceBundleProperties(String baseName)
リソースバンドルをプロパティズとして表現したオブジェクトを作成します。
|
ResourceBundleProperties(String baseName,
Locale locale)
リソースバンドルをプロパティズとして表現したオブジェクトを作成します。
|
ResourceBundleProperties(String baseName,
Locale locale,
ClassLoader loader)
リソースバンドルをプロパティズとして表現したオブジェクトを作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
Locale |
getLocale()
ResourceBundle の Locale を返します。
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public ResourceBundleProperties(String baseName) throws MissingResourceException
baseName
- 目的のオブジェクトを含むリソースバンドルのファミリ名MissingResourceException
- リソースの照合に失敗した場合public ResourceBundleProperties(String baseName, Locale locale) throws MissingResourceException
baseName
- 目的のオブジェクトを含むリソースバンドルのファミリ名locale
- 目的のロケールMissingResourceException
- リソースの照合に失敗した場合public ResourceBundleProperties(String baseName, Locale locale, ClassLoader loader) throws MissingResourceException
baseName
- 目的のオブジェクトを含むリソースバンドルのファミリ名locale
- 目的のロケールloader
- リソースをロードする ClassLoaderMissingResourceException
- リソースの照合に失敗した場合public Locale getLocale()
この関数は、java.util.ResourceBundle クラスの getLocale() と 同じであり、java.util.ResourceBundle クラスとインターフェースを 合わせるために提供されています。 java.util.ResourceBundle クラスの getLocale() の説明を参照して下さい。
Copyright © 2012 NTT DATA INTRAMART CORPORATION