Package com.mchange.v2.util
Class XmlProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- com.mchange.v2.util.XmlProperties
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
public class XmlProperties extends java.util.Properties
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlProperties()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loadXml(java.io.InputStream is)
static void
main(java.lang.String[] argv)
void
saveXml(java.io.OutputStream os)
void
storeXml(java.io.OutputStream os, java.lang.String header)
-
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, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Method Detail
-
loadXml
public void loadXml(java.io.InputStream is) throws java.io.IOException, org.xml.sax.SAXException
- Throws:
java.io.IOException
org.xml.sax.SAXException
-
saveXml
public void saveXml(java.io.OutputStream os) throws java.io.IOException, javax.xml.transform.TransformerException
- Throws:
java.io.IOException
javax.xml.transform.TransformerException
-
storeXml
public void storeXml(java.io.OutputStream os, java.lang.String header) throws java.io.IOException, javax.xml.transform.TransformerException
- Throws:
java.io.IOException
javax.xml.transform.TransformerException
-
main
public static void main(java.lang.String[] argv)
-
-