|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ch.elca.dependency.util.DefaultPropertiesReader
The class DefaultPropertiesReader
is used to read the
default properties. Such "default" properties are store in files
and packed together with the Dependency Tool in one jar file.
Constructor Summary | |
DefaultPropertiesReader()
|
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. |
java.net.URL |
getResource(java.lang.String name)
Get the URL of a resource. |
static DefaultPropertiesReader |
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 DefaultPropertiesReader()
Method Detail |
public static DefaultPropertiesReader singleton()
DefaultPropertiesReader
valuepublic java.io.InputStream getPropertiesAsStream(java.lang.String propertiesName)
getPropertiesAsStream
in interface PropertiesReader
propertiesName
- a String
value
InputStream
valuepublic java.util.Properties getProperties(java.lang.String propertiesName)
getProperties
in interface PropertiesReader
propertiesName
- a String
value
Properties
valuepublic java.net.URL getResource(java.lang.String name)
name
- a String
value
URL
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |