Package org.jppf.utils
Class UnmodifiableTypedProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.jppf.utils.AbstractTypedProperties
org.jppf.utils.TypedProperties
org.jppf.utils.UnmodifiableTypedProperties
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
Deprecated.
This class is an extension of
TypedProperties which does not allow modifying the properties it contains.
The methods in the super class that modify the properties have been overriden such that they do nothing, without rasing any exception.- Author:
- Laurent Cohen
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jppf.utils.TypedProperties
TypedProperties.Filter -
Field Summary
Fields inherited from class java.util.Properties
defaults -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates an empty unmodifiable properties map.Deprecated.Initialize this object with a set of existing properties. -
Method Summary
Modifier and TypeMethodDescriptionvoidload(InputStream in) Deprecated.This method does nothing as modification is not permitted.voidDeprecated.This method does nothing as modification is not permitted.voidDeprecated.This method does nothing as modification is not permitted.Deprecated.This method does nothing as modification is not permitted.voidDeprecated.This method does nothing as modification is not permitted.Deprecated.This method does nothing as modification is not permitted.setProperty(String key, String value) Deprecated.This method does nothing as modification is not permitted.Methods inherited from class org.jppf.utils.TypedProperties
containsProperty, filter, get, get, getBoolean, getBoolean, getChar, getChar, getDouble, getDouble, getFile, getFile, getFloat, getFloat, getInetAddress, getInetAddress, getInt, getInt, getLong, getLong, getProperties, getProperties, getString, getString, getStringArray, getStringArray, remove, remove, removeProperty, set, set, setBoolean, setChar, setDouble, setFile, setFloat, setInt, setLong, setString, setStringArray, storeMethods inherited from class org.jppf.utils.AbstractTypedProperties
asString, asString, fromString, fromString, getDefaults, loadAndResolve, reset, setDefaults, toStringMethods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, merge, propertyNames, putIfAbsent, rehash, remove, replace, replace, replaceAll, save, size, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, values
-
Constructor Details
-
UnmodifiableTypedProperties
public UnmodifiableTypedProperties()Deprecated.Creates an empty unmodifiable properties map. -
UnmodifiableTypedProperties
Deprecated.Initialize this object with a set of existing properties. This will copy into the present object all map entries such that both key and value are strings.- Parameters:
map- the properties to be copied. No reference to this parameter is kept in this TypedProperties object.
-
-
Method Details
-
setProperty
Deprecated.This method does nothing as modification is not permitted.- Overrides:
setPropertyin classProperties- Parameters:
key- not used.value- not used.- Returns:
null.
-
load
Deprecated.This method does nothing as modification is not permitted.- Overrides:
loadin classProperties- Parameters:
reader- not used.- Throws:
IOException- never thrown.
-
load
Deprecated.This method does nothing as modification is not permitted.- Overrides:
loadin classProperties- Parameters:
in- not used.- Throws:
IOException- never thrown.
-
loadFromXML
Deprecated.This method does nothing as modification is not permitted.- Overrides:
loadFromXMLin classProperties- Parameters:
in- not used.- Throws:
IOException- never thrown.InvalidPropertiesFormatException- never thrown.
-
put
Deprecated.This method does nothing as modification is not permitted. -
remove
Deprecated.This method does nothing as modification is not permitted. -
putAll
Deprecated.This method does nothing as modification is not permitted.
-
TypedPropertiesinstead.