org.jboss.util.property
Class DefaultPropertyReader
java.lang.Object
org.jboss.util.property.FilePropertyReader (src)
org.jboss.util.property.DefaultPropertyReader
- All Implemented Interfaces:
- PropertyReader (src)
- public final class DefaultPropertyReader
- extends FilePropertyReader (src)
Reads properties from files specified via a system property.
Unless otherwise specified, propertie filenames will be read from
the org.jboss.properties singleton or array property.
Method Summary |
static java.lang.String[] |
getFilenames(java.lang.String propertyName)
Get an array of filenames to load. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PROPERTY_NAME
public static final java.lang.String DEFAULT_PROPERTY_NAME
- Default property name to read filenames from
- See Also:
- Constant Field Values (src)
DefaultPropertyReader
public DefaultPropertyReader(java.lang.String propertyName)
- Construct a DefaultPropertyReader with a specified property
name.
DefaultPropertyReader
public DefaultPropertyReader()
- Construct a DefaultPropertyReader.
getFilenames
public static java.lang.String[] getFilenames(java.lang.String propertyName)
throws PropertyException (src)
- Get an array of filenames to load.
- Parameters:
propertyName
- Property to read filenames from.
- Returns:
- Array of filenames.
- Throws:
PropertyException (src)