com.inxar.syntacs.util
Class SetProperties
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--com.inxar.syntacs.util.SetProperties
- All Implemented Interfaces:
- Cloneable, Map, Serializable
- public class SetProperties
- extends Properties
The SetProperties
class is a subclass of
java.util.Properties
which interprets multiple entries
having the same key as an array.
- See Also:
- Serialized Form
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
SetProperties
public SetProperties()
SetProperties
public SetProperties(String file)
throws IOException
SetProperties
public SetProperties(SetProperties defaults)
SetProperties
public SetProperties(Properties defaults)
getProperty
public String getProperty(String key)
- Overrides:
getProperty
in class Properties
getProperties
public String[] getProperties(String key)
getProperties
public String[] getProperties(String key,
String[] defaultValues)
list
public void list(PrintStream out)
- Overrides:
list
in class Properties
list
public void list(PrintWriter out)
- Overrides:
list
in class Properties
propertyNames
public Enumeration propertyNames()
- Overrides:
propertyNames
in class Properties
setProperties
public Object setProperties(String key,
String[] values)
load
public void load(InputStream inStream)
throws IOException
- Overrides:
load
in class Properties
store
public void store(OutputStream out,
String header)
throws IOException
- Overrides:
store
in class Properties