info.magnolia.init.properties
Class AbstractStreamBasedPropertySource.ConstructingProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
info.magnolia.init.properties.AbstractStreamBasedPropertySource.ConstructingProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
- Enclosing class:
- AbstractStreamBasedPropertySource
public static class AbstractStreamBasedPropertySource.ConstructingProperties
- extends Properties
A subclass of Properties
which populates itself with a given InputStream.
The given InputStream is silently closed after properties have been loaded.
- See Also:
- Serialized Form
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
AbstractStreamBasedPropertySource.ConstructingProperties
public AbstractStreamBasedPropertySource.ConstructingProperties(InputStream in,
String path)
throws IOException
- Parameters:
in
- the InputStream to load properties from.path
- optional reference to a path describing where the given InputStream has been opened from.
- Throws:
IOException
loadAndClose
protected void loadAndClose(InputStream in)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Hashtable<Object,Object>
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.