|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.properties.Properties
public final class Properties
Provides management of properties.
Field Summary | |
---|---|
static Properties |
ELKI_PROPERTIES
The Properties for ELKI. |
private static Logging |
logger
Out logger |
private Properties |
properties
Stores the properties as defined by a property-file. |
static Pattern |
PROPERTY_SEPARATOR
The pattern to split for separate entries in a property string, which is a ",". |
Constructor Summary | |
---|---|
private |
Properties(String filename)
Provides the properties as defined in the designated file. |
Method Summary | |
---|---|
String[] |
getProperty(String propertyName)
Provides the entries (as separated by PROPERTY_SEPARATOR ) for a specified PropertyName. |
Set<String> |
getPropertyNames()
Get a collection of all property names in this file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Logging logger
public static final Pattern PROPERTY_SEPARATOR
public static final Properties ELKI_PROPERTIES
private final Properties properties
Constructor Detail |
---|
private Properties(String filename)
filename
- name of a file to provide property-definitions.Method Detail |
---|
public String[] getProperty(String propertyName)
PROPERTY_SEPARATOR
) for a specified PropertyName.
propertyName
- the PropertyName of the property to retrieve
PROPERTY_SEPARATOR
) for the specified PropertyName - if the
property is undefined, the returned array is of length 0public Set<String> getPropertyNames()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |