Package cronapi.osjava.sj.loader.util
Class XmlProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- cronapi.osjava.sj.loader.util.AbstractProperties
-
- cronapi.osjava.sj.loader.util.XmlProperties
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
public class XmlProperties extends AbstractProperties
Loads properties using the DOM API from an InputStream containing XML- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class cronapi.osjava.sj.loader.util.AbstractProperties
index
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description XmlProperties()XmlProperties(Properties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload(InputStream in)-
Methods inherited from class cronapi.osjava.sj.loader.util.AbstractProperties
getDelimiter, keys, keySet, propertyNames, put, remove, save, setDelimiter, setProperty, store
-
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, list, list, load, loadFromXML, merge, putAll, putIfAbsent, rehash, remove, replace, replace, replaceAll, size, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Constructor Detail
-
XmlProperties
public XmlProperties()
-
XmlProperties
public XmlProperties(Properties props)
-
-
Method Detail
-
load
public void load(InputStream in) throws IOException
- Specified by:
loadin classAbstractProperties- Throws:
IOException
-
-