|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ch.elca.dependency.util.DiskFileReader
The class DiskFileReader used to read user properties
stored in plain Files. Usually such properties may and have to be
set by users.
| Constructor Summary | |
DiskFileReader()
|
|
| Method Summary | |
java.util.Properties |
getProperties(java.lang.String propertiesName)
Get the named Properties. |
java.io.InputStream |
getPropertiesAsStream(java.lang.String propertiesName)
Get the named properties as a Stream. |
static DiskFileReader |
singleton()
Get the one and only instance of this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DiskFileReader()
| Method Detail |
public static DiskFileReader singleton()
DiskFileReader valuepublic java.io.InputStream getPropertiesAsStream(java.lang.String propertiesName)
getPropertiesAsStream in interface PropertiesReaderpropertiesName - a String value
InputStream valuepublic java.util.Properties getProperties(java.lang.String propertiesName)
getProperties in interface PropertiesReaderpropertiesName - a String value
Properties value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||