Package org.javlo.utils
Class StructuredProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- org.javlo.utils.StructuredProperties
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
public class StructuredProperties extends Properties
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description StructuredProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload(File file)voidload(InputStream inStream)voidsave(File file)voidstore(OutputStream out, String comments)voidstore(Writer writer, String comments)-
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, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Method Detail
-
store
public void store(Writer writer, String comments) throws IOException
- Overrides:
storein classProperties- Throws:
IOException
-
load
public void load(InputStream inStream) throws IOException
- Overrides:
loadin classProperties- Throws:
IOException
-
store
public void store(OutputStream out, String comments) throws IOException
- Overrides:
storein classProperties- Throws:
IOException
-
save
public void save(File file) throws IOException
- Throws:
IOException
-
load
public void load(File file) throws IOException
- Throws:
IOException
-
-