public class SecureConfig extends PropertyConfig
props| Constructor and Description |
|---|
SecureConfig() |
SecureConfig(char[] password) |
SecureConfig(Encryptor encryptor) |
SecureConfig(TextEncryptor textEncryptor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encrypt(String key,
String value) |
String |
getString(String key) |
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, put, store, store, store, store, toProperties, toStringgetBool, getDate, getDateTime, getDouble, getFloat, getFormatted, getFormatted, getFormatted, getInt, getKeys, getLong, getRequiredBool, getRequiredDate, getRequiredDateTime, getRequiredDouble, getRequiredFloat, getRequiredFormatted, getRequiredFormatted, getRequiredFormatted, getRequiredInt, getRequiredLong, getRequiredString, getRequiredTime, getString, getStringArray, getTimepublic SecureConfig()
public SecureConfig(char[] password)
public SecureConfig(Encryptor encryptor)
public SecureConfig(TextEncryptor textEncryptor)
public String getString(String key) throws CryptoException
getString in interface ConfiggetString in class ConfigBaseCryptoExceptionprotected void encrypt(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 © 2018. All rights reserved.