org.apache.ivy.util

Class EncrytedProperties

public class EncrytedProperties extends Properties

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.
Constructor Summary
EncrytedProperties()
Method Summary
booleancontains(Object value)
booleancontainsValue(Object value)
StringgetProperty(String key)
StringgetProperty(String key, String defaultValue)
ObjectsetProperty(String key, String value)
Collectionvalues()

Constructor Detail

EncrytedProperties

public EncrytedProperties()

Method Detail

contains

public boolean contains(Object value)

containsValue

public boolean containsValue(Object value)

getProperty

public String getProperty(String key)

getProperty

public String getProperty(String key, String defaultValue)

setProperty

public Object setProperty(String key, String value)

values

public Collection values()