public class ContextProperties extends OrderedProperties
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
defaults| Constructor and Description |
|---|
ContextProperties() |
ContextProperties(File doc) |
ContextProperties(InputStream is)
Creates new XMLBean from an input stream; XMLBean is read-only!!!
|
ContextProperties(String docname) |
ContextProperties(URL docname) |
| Modifier and Type | Method and Description |
|---|---|
int |
getInt(String property) |
int |
getInt(String property,
int defaultValue) |
String |
getPropertyWithSubstitutions(String property)
Gets the property value replacing all variable references
|
void |
write()
This method saves the properties-file connected by ContextProperties.
|
getKeys, storegetProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML, stringPropertyNamespublic ContextProperties()
throws IOException
IOExceptionpublic ContextProperties(String docname) throws IOException
IOExceptionpublic ContextProperties(URL docname) throws IOException
IOExceptionpublic ContextProperties(File doc) throws IOException
IOExceptionpublic ContextProperties(InputStream is) throws IOException
IOExceptionpublic void write()
throws IOException
IOExceptionpublic int getInt(String property)
public int getInt(String property, int defaultValue)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.