public class SecureConfig extends PropertyConfig
configs| Constructor and Description |
|---|
SecureConfig() |
SecureConfig(char[] password) |
SecureConfig(Encryptor encryptor) |
SecureConfig(TextEncryptor textEncryptor) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(Object key) |
protected void |
secure(String key,
String value) |
void |
sput(String key,
boolean value) |
void |
sput(String key,
Boolean value) |
void |
sput(String key,
Date value) |
void |
sput(String key,
double value) |
void |
sput(String key,
Double value) |
void |
sput(String key,
float value) |
void |
sput(String key,
Float value) |
void |
sput(String key,
int value) |
void |
sput(String key,
Integer value) |
void |
sput(String key,
long value) |
void |
sput(String key,
Long value) |
void |
sput(String key,
String value) |
void |
sput(String key,
Time value) |
void |
sput(String key,
Timestamp value) |
fromProperties, load, load, load, load, put, put, put, put, put, put, put, put, put, put, put, put, put, store, store, store, store, toProperties, toStringclear, containsKey, containsValue, entrySet, getBool, getDate, getDateTime, getDouble, getFloat, getFormatted, getFormatted, getFormatted, getInt, getLong, getRequiredBool, getRequiredDate, getRequiredDateTime, getRequiredDouble, getRequiredFloat, getRequiredFormatted, getRequiredFormatted, getRequiredFormatted, getRequiredInt, getRequiredLong, getRequiredString, getRequiredTime, getString, getString, getStringList, getTime, isEmpty, keySet, put, putAll, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic SecureConfig()
public SecureConfig(char[] password)
public SecureConfig(Encryptor encryptor)
public SecureConfig(TextEncryptor textEncryptor)
public String get(Object key) throws CryptoException
get in interface Map<String,String>get in class ConfigBaseCryptoExceptionprotected void secure(String key, String value) throws CryptoException
CryptoExceptionpublic void sput(String key, String value) throws CryptoException
CryptoExceptionpublic void sput(String key, boolean value) throws CryptoException
CryptoExceptionpublic void sput(String key, int value) throws CryptoException
CryptoExceptionpublic void sput(String key, long value) throws CryptoException
CryptoExceptionpublic void sput(String key, float value) throws CryptoException
CryptoExceptionpublic void sput(String key, double value) throws CryptoException
CryptoExceptionpublic void sput(String key, Boolean value) throws CryptoException
CryptoExceptionpublic void sput(String key, Integer value) throws CryptoException
CryptoExceptionpublic void sput(String key, Long value) throws CryptoException
CryptoExceptionpublic void sput(String key, Float value) throws CryptoException
CryptoExceptionpublic void sput(String key, Double value) throws CryptoException
CryptoExceptionpublic void sput(String key, Date value) throws CryptoException
CryptoExceptionpublic void sput(String key, Time value) throws CryptoException
CryptoExceptionpublic void sput(String key, Timestamp value) throws CryptoException
CryptoExceptionCopyright © 2017. All rights reserved.