|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.syndication.io.impl.PropertiesLoader
public class PropertiesLoader
Properties loader that aggregates a master properties file and several extra properties files, all from the current classpath.
The master properties file has to be in a distinct location than the extra properties files. First the master properties file is loaded, then all the extra properties files in their order of appearance in the classpath.
Current use cases (plugin manager for parsers/converters/generators for feeds and modules and date formats) assume properties are list of tokens, that why the only method to get property values is the getTokenizedProperty().
| メソッドの概要 | |
|---|---|
static PropertiesLoader |
getPropertiesLoader()
Returns the PropertiesLoader singleton used by ROME to load plugin components. |
java.lang.String[] |
getProperty(java.lang.String key)
Returns an array of values stored under a property key in all properties files. |
java.lang.String[] |
getTokenizedProperty(java.lang.String key,
java.lang.String separator)
Returns an array of tokenized values stored under a property key in all properties files. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| メソッドの詳細 |
|---|
public static PropertiesLoader getPropertiesLoader()
public java.lang.String[] getTokenizedProperty(java.lang.String key,
java.lang.String separator)
key - property key to retrieve valuesseparator - String with all separator characters to tokenize from the values in all
properties files.
public java.lang.String[] getProperty(java.lang.String key)
key - property key to retrieve values
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||