protected class XMLPreferenceManager.XMLProperties extends Properties
defaults
Modifier | Constructor and Description |
---|---|
protected |
XMLProperties() |
Modifier and Type | Method and Description |
---|---|
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. |
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public void load(InputStream is) throws IOException
load
in class Properties
IOException
public void store(OutputStream os, String header) throws IOException
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.store
in class Properties
IOException
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.