public class SecureProps extends Properties implements Config
defaults| Constructor and Description |
|---|
SecureProps(char[] password) |
SecureProps(Encryptor encryptor) |
SecureProps(String password) |
SecureProps(TextEncryptor textEncryptor) |
| Modifier and Type | Method and Description |
|---|---|
SecureProps |
copy() |
SecureProps |
enc(String key,
boolean value) |
SecureProps |
enc(String key,
double value) |
SecureProps |
enc(String key,
float value) |
SecureProps |
enc(String key,
int value) |
SecureProps |
enc(String key,
long value) |
SecureProps |
enc(String key,
String value) |
String |
get(Object key) |
String |
getString(String key) |
Object |
put(Object key,
Object value) |
SecureProps |
set(String key,
boolean value) |
SecureProps |
set(String key,
double value) |
SecureProps |
set(String key,
int value) |
SecureProps |
set(String key,
long value) |
SecureProps |
set(String key,
String value) |
void |
store(File file,
String comments) |
void |
store(OutputStream os,
String comments) |
void |
store(String file,
String comments) |
void |
store(Writer w,
String comments) |
protected Properties |
toProperties() |
String |
toString() |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitgetBool, getDouble, getFormatted, getFormatted, getFormatted, getInt, getLong, getRequiredBool, getRequiredDouble, getRequiredFormatted, getRequiredFormatted, getRequiredFormatted, getRequiredInt, getRequiredLong, getRequiredString, getString, getStringArray, toNoValueExceptionpublic SecureProps(char[] password)
public SecureProps(String password)
public SecureProps(Encryptor encryptor)
public SecureProps(TextEncryptor textEncryptor)
public SecureProps set(String key, String value)
public SecureProps set(String key, boolean value)
public SecureProps set(String key, int value)
public SecureProps set(String key, long value)
public SecureProps set(String key, double value)
public SecureProps enc(String key, String value) throws CryptoException
CryptoExceptionpublic SecureProps enc(String key, boolean value) throws CryptoException
CryptoExceptionpublic SecureProps enc(String key, int value) throws CryptoException
CryptoExceptionpublic SecureProps enc(String key, long value) throws CryptoException
CryptoExceptionpublic SecureProps enc(String key, float value) throws CryptoException
CryptoExceptionpublic SecureProps enc(String key, double value) throws CryptoException
CryptoExceptionpublic void store(File file, String comments) throws IOException
IOExceptionpublic void store(String file, String comments) throws IOException
IOExceptionpublic void store(OutputStream os, String comments) throws IOException
store in class PropertiesIOExceptionpublic void store(Writer w, String comments) throws IOException
store in class PropertiesIOExceptionprotected Properties toProperties()
public SecureProps copy()
Copyright © 2021. All rights reserved.