|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.properties.Properties
public final class Properties
Provides management of properties.
Field Summary | |
---|---|
static Properties |
KDD_FRAMEWORK_PROPERTIES
The Properties for the KDDFramework. |
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 ",". |
private static Properties |
temporalProperties
|
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug |
Constructor Summary | |
---|---|
private |
Properties(String filename)
Provides the properties as defined in the designated file. |
Method Summary | |
---|---|
PropertyDescription[] |
getProperties(PropertyName propertyName)
Returns an array of PropertyDescription for all entries for the given PropertyName. |
String[] |
getProperty(PropertyName propertyName)
Provides the entries (as separated by PROPERTY_SEPARATOR ) for a specified
PropertyName. |
String |
restrictionString(Class superclass)
Provides a description string listing all classes for the given superclass or interface as specified in the properties. |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Pattern PROPERTY_SEPARATOR
private static Properties temporalProperties
public static final Properties KDD_FRAMEWORK_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(PropertyName 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 String restrictionString(Class superclass)
superclass
- the class to be extended or interface to be implemented
public PropertyDescription[] getProperties(PropertyName propertyName)
propertyName
- the Propertyname of the property to retrieve
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |