Decision Center API

ilog.rules.webui
Class IlrWMultipleProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by ilog.rules.webui.IlrWMultipleProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class IlrWMultipleProperties
extends Properties

A Properties class that can "cumulate" several properties.

 multipleProp = new IlrWMultipleProperties();

 multipleProp.appendStream(propertiesStreamSystem);
 multipleProp.appendStream(propertiesStreamLocal);
 multipleProp.appendStream(propertiesStreamUser);
 

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
IlrWMultipleProperties()
           
 
Method Summary
 void appendProperties(Properties prop)
           
 void appendStream(InputStream stream)
          Adds the specified stream to the bundle.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlrWMultipleProperties

public IlrWMultipleProperties()
Method Detail

appendProperties

public void appendProperties(Properties prop)

appendStream

public void appendStream(InputStream stream)
                  throws IOException
Adds the specified stream to the bundle.

Throws:
IOException
Parameters:
stream - A stream pointing to a Properties file.

Decision Center API

© Copyright IBM Corp. 1987, 2013