public class SecureProperties extends PropertyMap
props| Constructor and Description |
|---|
SecureProperties() |
SecureProperties(char[] password) |
SecureProperties(TextEncryptor textEncryptor) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(Object key) |
void |
secure(String key,
boolean value) |
void |
secure(String key,
Boolean value) |
void |
secure(String key,
Date value) |
void |
secure(String key,
double value) |
void |
secure(String key,
Double value) |
void |
secure(String key,
float value) |
void |
secure(String key,
Float value) |
void |
secure(String key,
int value) |
void |
secure(String key,
Integer value) |
void |
secure(String key,
long value) |
void |
secure(String key,
Long value) |
void |
secure(String key,
String value) |
void |
secure(String key,
Time value) |
void |
secure(String key,
Timestamp value) |
fromProperties, load, load, load, load, 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, getTime, isEmpty, keySet, put, put, put, put, put, put, put, put, put, put, put, put, put, 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 SecureProperties()
public SecureProperties(char[] password)
public SecureProperties(TextEncryptor textEncryptor)
public String get(Object key) throws CryptoException
get in interface Map<String,String>get in class PropertyBaseCryptoExceptionpublic void secure(String key, String value) throws CryptoException
CryptoExceptionpublic void secure(String key, boolean value) throws CryptoException
CryptoExceptionpublic void secure(String key, int value) throws CryptoException
CryptoExceptionpublic void secure(String key, long value) throws CryptoException
CryptoExceptionpublic void secure(String key, float value) throws CryptoException
CryptoExceptionpublic void secure(String key, double value) throws CryptoException
CryptoExceptionpublic void secure(String key, Boolean value) throws CryptoException
CryptoExceptionpublic void secure(String key, Integer value) throws CryptoException
CryptoExceptionpublic void secure(String key, Long value) throws CryptoException
CryptoExceptionpublic void secure(String key, Float value) throws CryptoException
CryptoExceptionpublic void secure(String key, Double value) throws CryptoException
CryptoExceptionpublic void secure(String key, Date value) throws CryptoException
CryptoExceptionpublic void secure(String key, Time value) throws CryptoException
CryptoExceptionpublic void secure(String key, Timestamp value) throws CryptoException
CryptoExceptionCopyright © 2017. All rights reserved.