public class ConstructableProperties
extends java.util.Properties
| Constructor and Description |
|---|
ConstructableProperties(java.io.InputStream stream)
create properties from input stream
|
ConstructableProperties(java.io.InputStream stream,
java.util.Properties defaults)
create from inpiut stream with default properties
|
ConstructableProperties(java.lang.String resource)
create properties from classpath resource using context classloader
|
ConstructableProperties(java.lang.String resource,
java.util.Properties defaults) |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamespublic ConstructableProperties(java.lang.String resource)
throws java.io.IOException
resource - resource namejava.io.IOException - passed from Properties.load()public ConstructableProperties(java.lang.String resource,
java.util.Properties defaults)
throws java.io.IOException
resource - resource namedefaults - default propertiesjava.io.IOException - can be thrown if something goes wrongpublic ConstructableProperties(java.io.InputStream stream)
throws java.io.IOException
stream - to read fromjava.io.IOException - can be thrown by properties objkectpublic ConstructableProperties(java.io.InputStream stream,
java.util.Properties defaults)
throws java.io.IOException
stream - to read fromdefaults - default propertiesjava.io.IOException - can be thrown by properties object