public class TcpProperties
extends java.util.Properties
Constructor and Description |
---|
TcpProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getDoubleValue(java.lang.String key)
Gets the property value with the given key as double.
|
java.lang.String |
getFileInfo()
Returns the tcpjlib.properties file information.
|
java.lang.Integer |
getIntValue(java.lang.String key)
Gets the property value with the given key as int.
|
java.lang.String |
getStringValue(java.lang.String key)
Gets the property value with the given key as string.
|
boolean |
search()
Searches the property file.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
public boolean search()
public java.lang.String getStringValue(java.lang.String key)
key
- the key of the propertypublic java.lang.Integer getIntValue(java.lang.String key)
key
- the key of the propertypublic java.lang.Double getDoubleValue(java.lang.String key)
key
- the key of the propertypublic java.lang.String getFileInfo()