当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
DefaultPropertyReader (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
org.jboss.util.property
Class DefaultPropertyReader
java.lang.Object
org.jboss.util.property.FilePropertyReader
org.jboss.util.property.DefaultPropertyReader
- All Implemented Interfaces:
- PropertyReader
- public final class DefaultPropertyReader
- extends FilePropertyReader
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.
- Version:
- $Revision: 1.3 $
- Author:
- Jason Dillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PROPERTY_NAME
public static final String DEFAULT_PROPERTY_NAME
- Default property name to read filenames from
- See Also:
- Constant Field Values
DefaultPropertyReader
public DefaultPropertyReader(String propertyName)
- Construct a DefaultPropertyReader with a specified property
name.
DefaultPropertyReader
public DefaultPropertyReader()
- Construct a DefaultPropertyReader.
getFilenames
public static String[] getFilenames(String propertyName)
throws PropertyException
- Get an array of filenames to load.
- Parameters:
propertyName
- Property to read filenames from.
- Returns:
- Array of filenames.
- Throws:
PropertyException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.