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 void
load(File file)
void
load(InputStream inStream)
void
save(File file)
void
store(OutputStream out, String comments)
void
store(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:
store
in classProperties
- Throws:
IOException
-
load
public void load(InputStream inStream) throws IOException
- Overrides:
load
in classProperties
- Throws:
IOException
-
store
public void store(OutputStream out, String comments) throws IOException
- Overrides:
store
in classProperties
- Throws:
IOException
-
save
public void save(File file) throws IOException
- Throws:
IOException
-
load
public void load(File file) throws IOException
- Throws:
IOException
-
-