| java.util.Properties workbench.util.WbProperties
WbProperties | protected WbProperties()(Code) | | |
WbProperties | public WbProperties(Object notificationSource)(Code) | | |
WbProperties | public WbProperties(Object notificationSource, int num)(Code) | | |
addPropertyDefinition | public void addPropertyDefinition(String line)(Code) | | Adds a property definition in the form key=value
Lines starting with # are ignored
Lines that do not contain a = character are ignored
Any text after a # sign in the value is ignored
|
getBoolProperty | public boolean getBoolProperty(String property, boolean defaultValue)(Code) | | |
getIntProperty | public int getIntProperty(String property, int defaultValue)(Code) | | |
loadTextFile | public void loadTextFile(String filename, String encoding) throws IOException(Code) | | Read the content of the file into this properties object.
This method does not support line continuation, but supports
an encoding (as opposed to the original properties class)
|
setProperty | public void setProperty(String property, int value)(Code) | | |
setProperty | public void setProperty(String property, boolean value)(Code) | | |
|
|