public class SecureConfig extends PropertyConfig
map| Constructor and Description |
|---|
SecureConfig(char[] password) |
SecureConfig(Encryptor encryptor) |
SecureConfig(String password) |
SecureConfig(TextEncryptor textEncryptor) |
| Modifier and Type | Method and Description |
|---|---|
SecureConfig |
enc(String key,
boolean value) |
SecureConfig |
enc(String key,
double value) |
SecureConfig |
enc(String key,
float value) |
SecureConfig |
enc(String key,
int value) |
SecureConfig |
enc(String key,
long value) |
SecureConfig |
enc(String key,
String value) |
String |
getString(String key) |
SecureConfig |
load(File file) |
SecureConfig |
load(InputStream is) |
SecureConfig |
load(Reader r) |
SecureConfig |
load(String file) |
SecureConfig |
set(String key,
boolean value) |
SecureConfig |
set(String key,
double value) |
SecureConfig |
set(String key,
int value) |
SecureConfig |
set(String key,
long value) |
SecureConfig |
set(String key,
String value) |
fromProperties, store, store, store, store, toProperties, toStringclear, containsKey, containsValue, entrySet, isEmpty, keySet, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBool, getDouble, getFormatted, getFormatted, getFormatted, getInt, getLong, getRequiredBool, getRequiredDouble, getRequiredFormatted, getRequiredFormatted, getRequiredFormatted, getRequiredInt, getRequiredLong, getRequiredString, getString, getStringArray, toNoValueExceptioncompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic SecureConfig(char[] password)
public SecureConfig(String password)
public SecureConfig(Encryptor encryptor)
public SecureConfig(TextEncryptor textEncryptor)
public SecureConfig load(InputStream is) throws IOException
load in class PropertyConfigIOExceptionpublic SecureConfig load(Reader r) throws IOException
load in class PropertyConfigIOExceptionpublic SecureConfig load(File file) throws IOException
load in class PropertyConfigIOExceptionpublic SecureConfig load(String file) throws IOException
load in class PropertyConfigIOExceptionpublic SecureConfig set(String key, String value)
set in class PropertyConfigpublic SecureConfig set(String key, boolean value)
set in class PropertyConfigpublic SecureConfig set(String key, int value)
set in class PropertyConfigpublic SecureConfig set(String key, long value)
set in class PropertyConfigpublic SecureConfig set(String key, double value)
set in class PropertyConfigpublic SecureConfig enc(String key, String value) throws CryptoException
CryptoExceptionpublic SecureConfig enc(String key, boolean value) throws CryptoException
CryptoExceptionpublic SecureConfig enc(String key, int value) throws CryptoException
CryptoExceptionpublic SecureConfig enc(String key, long value) throws CryptoException
CryptoExceptionpublic SecureConfig enc(String key, float value) throws CryptoException
CryptoExceptionpublic SecureConfig enc(String key, double value) throws CryptoException
CryptoExceptionCopyright © 2021. All rights reserved.