Package org.apache.batik.apps.svgbrowser
Class XMLPreferenceManager.XMLProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- org.apache.batik.apps.svgbrowser.XMLPreferenceManager.XMLProperties
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.Object,java.lang.Object>
- Enclosing class:
- XMLPreferenceManager
protected class XMLPreferenceManager.XMLProperties extends java.util.PropertiesTo store the preferences.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXMLProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidenumerate(java.util.Map m)Enumerates all key/value pairs in the specified m.voidload(java.io.InputStream is)Reads a property list (key and element pairs) from the input stream.voidstore(java.io.OutputStream os, java.lang.String header)Writes this property list (key and element pairs) in thisPropertiestable to the output stream in a format suitable for loading into aPropertiestable using theloadmethod.-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Method Detail
-
load
public void load(java.io.InputStream is) throws java.io.IOExceptionReads 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:
loadin classjava.util.Properties- Throws:
java.io.IOException
-
store
public void store(java.io.OutputStream os, java.lang.String header) throws java.io.IOExceptionWrites this property list (key and element pairs) in thisPropertiestable to the output stream in a format suitable for loading into aPropertiestable using theloadmethod. The stream is written using the ISO 8859-1 character encoding.- Overrides:
storein classjava.util.Properties- Throws:
java.io.IOException
-
enumerate
private void enumerate(java.util.Map m)
Enumerates all key/value pairs in the specified m.- Parameters:
m- the map
-
-