public static class AbstractStreamBasedPropertySource.ConstructingProperties extends Properties
Properties
which populates itself with a given InputStream.
The given InputStream is silently closed after properties have been loaded.defaults
Constructor and Description |
---|
AbstractStreamBasedPropertySource.ConstructingProperties(InputStream in,
String path) |
Modifier and Type | Method and Description |
---|---|
protected void |
loadAndClose(InputStream in) |
String |
toString() |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
public AbstractStreamBasedPropertySource.ConstructingProperties(InputStream in, String path) throws IOException
in
- the InputStream to load properties from.path
- optional reference to a path describing where the given InputStream has been opened from.IOException
protected void loadAndClose(InputStream in) throws IOException
IOException
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.