org.apache.batik.apps.svgbrowser
Class XMLPreferenceManager.XMLProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.apache.batik.apps.svgbrowser.XMLPreferenceManager.XMLProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
- Enclosing class:
- XMLPreferenceManager
protected class XMLPreferenceManager.XMLProperties
- extends Properties
To store the preferences.
- See Also:
- Serialized Form
Method Summary |
void |
load(InputStream is)
Reads a property list (key and element pairs) from the input stream. |
void |
store(OutputStream os,
String header)
Writes this property list (key and element pairs) in this
Properties table to the output stream in a format suitable
for loading into a Properties table using the
load method. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, 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 |
XMLPreferenceManager.XMLProperties
protected XMLPreferenceManager.XMLProperties()
load
public void load(InputStream is)
throws IOException
- Reads a property list (key and element pairs) from the input stream.
The stream is assumed to be using the ISO 8859-1 character encoding.
- Overrides:
load
in class Properties
- Throws:
IOException
store
public void store(OutputStream os,
String header)
throws IOException
- Writes this property list (key and element pairs) in this
Properties
table to the output stream in a format suitable
for loading into a Properties
table using the
load
method.
The stream is written using the ISO 8859-1 character encoding.
- Overrides:
store
in class Properties
- Throws:
IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.