public class DataProperties
extends java.util.Properties
Constructor and Description |
---|
DataProperties() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDate(String key) |
java.net.InetAddress |
getInetAddress(String key) |
int |
getInt(String key) |
<T> java.util.List<T> |
getList(String key,
StringToElementConverter<T> stringToElementConverter) |
String |
getString(String key) |
void |
setDate(String key,
java.util.Date value) |
void |
setInetAddress(String key,
java.net.InetAddress value) |
void |
setInt(String key,
int value) |
void |
setList(String key,
java.util.List<?> value) |
void |
setString(String key,
String value) |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public void setString(String key, String value)
public String getString(String key)
public void setDate(String key, java.util.Date value)
public java.util.Date getDate(String key)
public void setInt(String key, int value)
public int getInt(String key)
public void setList(String key, java.util.List<?> value)
public <T> java.util.List<T> getList(String key, StringToElementConverter<T> stringToElementConverter)
public void setInetAddress(String key, java.net.InetAddress value)
public java.net.InetAddress getInetAddress(String key)