Class EncryptedProperties
- All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
- Direct Known Subclasses:
EncrytedProperties
An implementation of Properties which stores the values encrypted. The use is transparent from
the user point of view (use as any Properties instance), except that get, put and putAll do not
handle encryption/decryption. This means that get returns the encrypted value, while put and
putAll puts given values without encrypting them. It this thus recommended to void using them,
use setProperty and getProperty instead.
- See Also:
-
Field Summary
Fields inherited from class Properties
defaults -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancontainsValue(Object value) getProperty(String key) getProperty(String key, String defaultValue) setProperty(String key, String value) values()Methods inherited from class Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString
-
Constructor Details
-
EncryptedProperties
public EncryptedProperties()
-
-
Method Details
-
setProperty
- Overrides:
setPropertyin classProperties
-
getProperty
- Overrides:
getPropertyin classProperties
-
getProperty
- Overrides:
getPropertyin classProperties
-
containsValue
- Specified by:
containsValuein interfaceMap<Object,Object> - Overrides:
containsValuein classProperties
-
contains
- Overrides:
containsin classProperties
-
values
-