|
XProperties 1.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
java.util.Properties
at.spardat.properties.ExtendedProperties
extended version of java.util.Properties which supports:
| Field Summary |
| Fields inherited from class java.util.Properties |
defaults |
| Constructor Summary | |
ExtendedProperties()
|
|
ExtendedProperties(java.lang.ClassLoader loader)
|
|
ExtendedProperties(PropertyData data)
|
|
| Method Summary | |
PropertyData |
getData()
|
java.lang.String |
getProperty(java.lang.String key)
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
this method is called during parsing of the input file. |
void |
read(java.io.InputStream stream)
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 |
| Methods inherited from class java.util.Properties |
getProperty, list, list, load, propertyNames, save, setProperty, store |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ExtendedProperties()
public ExtendedProperties(java.lang.ClassLoader loader)
public ExtendedProperties(PropertyData data)
| Method Detail |
public PropertyData getData()
public void read(java.io.InputStream stream)
throws java.io.IOException,
PropertyException
stream - InputStream from which the properties msut be loaded
java.io.IOException
PropertyException
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
Dictionary.put(java.lang.Object, java.lang.Object)public java.lang.String getProperty(java.lang.String key)
Properties.getProperty(java.lang.String)
|
XProperties 1.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||