public class SecureProperties extends PropertyMap
props| Constructor and Description |
|---|
SecureProperties() |
SecureProperties(char[] password) |
SecureProperties(TextEncryptor textEncryptor) |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String key) |
void |
encrypt(String key,
String value) |
fromProperties, load, load, load, load, store, store, store, store, toProperties, toStringclear, containsKey, containsValue, entrySet, get, 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, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic SecureProperties()
public SecureProperties(char[] password)
public SecureProperties(TextEncryptor textEncryptor)
public void encrypt(String key, String value) throws CryptoException
CryptoExceptionpublic String decrypt(String key) throws CryptoException
CryptoExceptionCopyright © 2017. All rights reserved.