All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.xmlmiddleware.xmldbms.tools.PropertyProcessor
PropertyProcessor reads properties from a set of property/value pairs or a properties file. It then adds these to an existing Properties object. If requested, PropertyProcessor will recursively replace all property file properties (File, File1, File2, etc.) with their contents. This makes it possible to distribute properties over a hierarchy of property files.
Note that in expanding property files as well as constructing properties from an array of property/value pairs, duplicate properties are silently overwritten. Thus, the last value of a given property that is read is the one that is used.
PropertyProcessor is the base class for Transfer and MapManager.
public PropertyProcessor()
public void addPropertiesFromArray(Properties props,
String pairs[],
int start,
boolean expandFiles) throws XMLMiddlewareException
The syntax of each string is:
=
public void addPropertiesFromFile(Properties props,
String filename,
boolean expandFiles) throws XMLMiddlewareException
All Packages Class Hierarchy This Package Previous Next Index