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, store
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML, stringPropertyNames
public ContextProperties() throws IOException
IOException
public ContextProperties(String docname) throws IOException
IOException
public ContextProperties(URL docname) throws IOException
IOException
public ContextProperties(File doc) throws IOException
IOException
public ContextProperties(InputStream is) throws IOException
IOException
public void write() throws IOException
IOException
public int getInt(String property)
public int getInt(String property, int defaultValue)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.