XProperties 1.0.3
A C D E F G I L M P R S U V X

A

AbstractPropertyProcessor - class at.spardat.properties.AbstractPropertyProcessor.
A property processor is used to process each read property key and value.
AbstractPropertyProcessor() - Constructor for class at.spardat.properties.AbstractPropertyProcessor
 
AbstractPropertyProcessor(AbstractPropertyProcessor) - Constructor for class at.spardat.properties.AbstractPropertyProcessor
 
addPropertyKey(String, String[]) - Method in class at.spardat.properties.PropertyAttribute
 
addPropertyKey(String, String) - Method in class at.spardat.properties.PropertyAttribute
 
addToLoadPathStack(String) - Method in class at.spardat.properties.PropertyData
 
at.spardat.properties - package at.spardat.properties
 
at.spardat.properties.processor - package at.spardat.properties.processor
 

C

ConditionProcessor - class at.spardat.properties.processor.ConditionProcessor.
processes conditions of the form "@cond_key1=cond_val1,cond_val2&cond_key2=cond_val3?
ConditionProcessor() - Constructor for class at.spardat.properties.processor.ConditionProcessor
 
clearProperties() - Method in class at.spardat.properties.PropertyData
 

D

doProcessProperty(PropertyData, Property) - Method in class at.spardat.properties.AbstractPropertyProcessor
process a property with this property processor
doProcessProperty(PropertyData, Property) - Method in class at.spardat.properties.processor.ConditionProcessor
 
doProcessProperty(PropertyData, Property) - Method in class at.spardat.properties.processor.IncludeProcessor
 
doProcessProperty(PropertyData, Property) - Method in class at.spardat.properties.processor.MetaProcessor
 
doProcessProperty(PropertyData, Property) - Method in class at.spardat.properties.processor.PostfixProcessor
 
doProcessProperty(PropertyData, Property) - Method in class at.spardat.properties.processor.PraefixProcessor
 
doProcessProperty(PropertyData, Property) - Method in class at.spardat.properties.processor.VariableProcessor
 

E

ENVIRONMENT_PROPERTY_NAME - Static variable in class at.spardat.properties.processor.ConditionProcessor
 
ExtendedProperties - class at.spardat.properties.ExtendedProperties.
extended version of java.util.Properties which supports: variable replacement include property attributes property conditions Objects of this class are for internal use of the property API only.
ExtendedProperties() - Constructor for class at.spardat.properties.ExtendedProperties
 
ExtendedProperties(ClassLoader) - Constructor for class at.spardat.properties.ExtendedProperties
 
ExtendedProperties(PropertyData) - Constructor for class at.spardat.properties.ExtendedProperties
 

F

forceReload() - Method in class at.spardat.properties.PropertyData
forces a reload

G

get(String, String) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
get(String) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getAllKeys() - Static method in class at.spardat.properties.XProperties
Liefert alle vorhandenen PropertyKeys
getAttribute(String) - Method in class at.spardat.properties.PropertyAttributes
 
getAttributes() - Method in class at.spardat.properties.PropertyData
 
getBaseName() - Method in class at.spardat.properties.XProperties
 
getBoolean(String, boolean) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getBoolean(String) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getClassLoader() - Method in class at.spardat.properties.PropertyData
 
getCurrentLoadPath() - Method in class at.spardat.properties.PropertyData
 
getData() - Method in class at.spardat.properties.ExtendedProperties
 
getDate(String, Date) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getDate(String) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getDouble(String, double) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getDouble(String) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getFloat(String, float) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getFloat(String) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getGroupProperties(String) - Method in class at.spardat.properties.XProperties
Tries to find subnodes of this XProperties node which start with name propertyName and a number starting with "1" (e.g. at.spardat.sample.group1).
getGroupProperties(String, int) - Method in class at.spardat.properties.XProperties
Tries to find subnodes of this XProperties node which start with name propertyName and a number starting with start (e.g. at.spardat.sample.group1).
getInstance() - Static method in class at.spardat.properties.PropertyData
 
getInt(String, int) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getInt(String) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getKey() - Method in class at.spardat.properties.Property
 
getKeys() - Method in class at.spardat.properties.XProperties
Returns an Iterator to iterate over the names of the properties which are defined on this node.
getLong(String, long) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getLong(String) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getMessage() - Method in class at.spardat.properties.PropertyException
 
getMessage() - Method in class at.spardat.properties.PropertyInitException
 
getMustProperty(String) - Method in class at.spardat.properties.XProperties
Internal method to access a raw property value
getName() - Method in class at.spardat.properties.PropertyAttribute
 
getNode(Class) - Static method in class at.spardat.properties.XProperties
get the preferences node for the package of the given class
getNodeOfPackage(String) - Static method in class at.spardat.properties.XProperties
get the preferences node for the given package This method should not be used extensivly as it breaks some sort of encapsulation.
getObjectProperty(String) - Method in class at.spardat.properties.PropertyData
 
getOrCreateAttribute(String) - Method in class at.spardat.properties.PropertyAttributes
 
getProcessor() - Method in class at.spardat.properties.PropertyData
 
getPropertiesMap() - Method in class at.spardat.properties.PropertyData
 
getPropertiesWithAttributeValue(String) - Method in class at.spardat.properties.PropertyAttribute
 
getProperty(String) - Method in class at.spardat.properties.ExtendedProperties
 
getProperty(String) - Method in class at.spardat.properties.PropertyData
 
getProperty(String) - Method in class at.spardat.properties.XProperties
Internal method to access a raw property value
getPropertyKey() - Method in class at.spardat.properties.PropertyUnknownException
 
getPropertyMeta(String) - Static method in class at.spardat.properties.XProperties
Liefert zum übergebenen PropertyKey die diesbezüglich konfigurierten Informationen.
getPropertyOrSystemProperty(String) - Method in class at.spardat.properties.PropertyData
 
getRoot() - Static method in class at.spardat.properties.XProperties
get the root preferences node (no associated package)
getSubNode(String) - Method in class at.spardat.properties.XProperties
Get a new XProperties instance for a subnode of this node.
getTargetException() - Method in class at.spardat.properties.PropertyException
 
getTargetException() - Method in class at.spardat.properties.PropertyInitException
 
getTime(String, Date) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getTime(String) - Method in class at.spardat.properties.XProperties
Access to the property with the name "basename+key".
getValue() - Method in class at.spardat.properties.Property
 

I

INCLUDE_PRAEFIX - Static variable in class at.spardat.properties.processor.IncludeProcessor
 
IncludeProcessor - class at.spardat.properties.processor.IncludeProcessor.
this processor is responsible for handling the include of property files with the syntax "@include=path_to_property_file"
IncludeProcessor() - Constructor for class at.spardat.properties.processor.IncludeProcessor
 

L

loadRoot() - Static method in class at.spardat.properties.PropertyLoader
Tries to find and load the root property file "root.properties".
loadRoot(ClassLoader) - Static method in class at.spardat.properties.PropertyLoader
Tries to find and load the root property file "root.properties".
loadRoot(ClassLoader, String) - Static method in class at.spardat.properties.PropertyLoader
Tries to find and load the root property file "root.properties".

M

MetaProcessor - class at.spardat.properties.processor.MetaProcessor.
processes meta data (property attributes)
MetaProcessor() - Constructor for class at.spardat.properties.processor.MetaProcessor
 

P

PostfixProcessor - class at.spardat.properties.processor.PostfixProcessor.
this processor manages "@praefix" commands
PostfixProcessor() - Constructor for class at.spardat.properties.processor.PostfixProcessor
 
PraefixProcessor - class at.spardat.properties.processor.PraefixProcessor.
this processor manages "@praefix" commands
PraefixProcessor() - Constructor for class at.spardat.properties.processor.PraefixProcessor
 
Property - class at.spardat.properties.Property.
represents a single property with a key and a value
Property(String, String) - Constructor for class at.spardat.properties.Property
 
PropertyAttribute - class at.spardat.properties.PropertyAttribute.
encapsulates the information about a single property attribute.
PropertyAttribute(String) - Constructor for class at.spardat.properties.PropertyAttribute
 
PropertyAttributes - class at.spardat.properties.PropertyAttributes.
Manages a set of property attributes
PropertyAttributes() - Constructor for class at.spardat.properties.PropertyAttributes
 
PropertyData - class at.spardat.properties.PropertyData.
Encapsulates the property data and attribute information.
PropertyData() - Constructor for class at.spardat.properties.PropertyData
 
PropertyData(ClassLoader) - Constructor for class at.spardat.properties.PropertyData
 
PropertyException - exception at.spardat.properties.PropertyException.
abstract base class for all exceptions of this package
PropertyException(String) - Constructor for class at.spardat.properties.PropertyException
 
PropertyException(String, Exception) - Constructor for class at.spardat.properties.PropertyException
 
PropertyFileNotFoundException - exception at.spardat.properties.PropertyFileNotFoundException.
thrown if a property file (root file or included) cannot be found
PropertyFileNotFoundException(String) - Constructor for class at.spardat.properties.PropertyFileNotFoundException
 
PropertyInitException - exception at.spardat.properties.PropertyInitException.
this exception is thrown if the property system was unable to correctly initialize
PropertyInitException(String, Exception) - Constructor for class at.spardat.properties.PropertyInitException
 
PropertyLoader - class at.spardat.properties.PropertyLoader.
This class is responsible for loading the property files from the filesystem and the classloader into a PropertyData instance.
PropertyLoader() - Constructor for class at.spardat.properties.PropertyLoader
 
PropertySyntaxException - exception at.spardat.properties.PropertySyntaxException.
this exception is thrown if the input file has a syntax error
PropertySyntaxException(String) - Constructor for class at.spardat.properties.PropertySyntaxException
 
PropertyUnknownException - exception at.spardat.properties.PropertyUnknownException.
this exception signals the access to a missing property
PropertyUnknownException(String) - Constructor for class at.spardat.properties.PropertyUnknownException
 
PropertyUnknownException(String, String) - Constructor for class at.spardat.properties.PropertyUnknownException
 
processAttribute(PropertyData, String) - Method in class at.spardat.properties.processor.MetaProcessor
 
processProperty(PropertyData, Property) - Method in class at.spardat.properties.AbstractPropertyProcessor
process a property with this property processor
put(Object, Object) - Method in class at.spardat.properties.ExtendedProperties
this method is called during parsing of the input file.

R

ROOT_PROPERTY_FILE_NAME - Static variable in class at.spardat.properties.PropertyLoader
 
read(InputStream) - Method in class at.spardat.properties.ExtendedProperties
the designated method to read properties from an inputstream. do not use the load method of java.util.Properties as this method may only throw a IOException
reload() - Method in class at.spardat.properties.PropertyData
reloads all properties
removeFromLoadPathStack() - Method in class at.spardat.properties.PropertyData
 
replaceVars(PropertyData, String) - Method in class at.spardat.properties.processor.VariableProcessor
 
reset() - Static method in class at.spardat.properties.PropertyData
 

S

SYS_ENV_NAME_FOR_ROOT_FILE - Static variable in class at.spardat.properties.PropertyLoader
 
setKey(String) - Method in class at.spardat.properties.Property
 
setNextProcessor(AbstractPropertyProcessor) - Method in class at.spardat.properties.AbstractPropertyProcessor
sets a processor which will be called if this processor successfully processed a property
setObjectProperty(String, Object) - Method in class at.spardat.properties.PropertyData
 
setProperty(String, String) - Method in class at.spardat.properties.PropertyData
 
setValue(String) - Method in class at.spardat.properties.Property
 

U

userNodeForPackage(Class) - Static method in class at.spardat.properties.XProperties
Deprecated. for compatibility to Preferences API

V

VariableProcessor - class at.spardat.properties.processor.VariableProcessor.
a property processor which manages variable replacement of the form "${varname}"
VariableProcessor() - Constructor for class at.spardat.properties.processor.VariableProcessor
 

X

XProperties - class at.spardat.properties.XProperties.
Root Class for accessing Properties.
XProperties(String) - Constructor for class at.spardat.properties.XProperties
TODO KDM: hier pruefen ob richtig initialisiert wurde XProperties constructor.

A C D E F G I L M P R S U V X
XProperties 1.0.3