Class UnmodifiableProperties

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class UnmodifiableProperties extends Properties
A Properties instance which holds a snapshot of the properties given to the constructor and rejects all attempts to modify the contents afterwards.

Both the mutating methods and the mutating operations of the keySet(), values() and entrySet() views throw an UnsupportedOperationException. Use new Properties().putAll(properties) to get a modifiable copy of the contents.

For internal use only. May be renamed or removed in a future release.

Author:
Vaadin Ltd
See Also: