Package org.apache.camel.util
Class OrderedProperties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
Object>
This class is an ordered
Properties
where the key/values are stored in the order they are added or loaded.
Note: This implementation is only intended as implementation detail for the Camel properties component, and has only
been designed to provide the needed functionality. The complex logic for loading properties has been kept from the
JDK Properties
class.- See Also:
-
Field Summary
Fields inherited from class java.util.Properties
defaults
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.Properties
clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, equals, forEach, getOrDefault, hashCode, list, list, load, load, loadFromXML, merge, propertyNames, putIfAbsent, rehash, remove, replace, replace, replaceAll, save, setProperty, store, store, storeToXML, storeToXML, storeToXML
-
Constructor Details
-
OrderedProperties
public OrderedProperties()
-
-
Method Details
-
asMap
-
put
-
doPut
-
putAll
-
get
-
isEmpty
public boolean isEmpty() -
remove
-
clear
public void clear() -
getProperty
- Overrides:
getProperty
in classProperties
-
getProperty
- Overrides:
getProperty
in classProperties
-
keys
- Overrides:
keys
in classProperties
-
keySet
-
entrySet
-
size
public int size() -
stringPropertyNames
- Overrides:
stringPropertyNames
in classProperties
-
values
-
toString
- Overrides:
toString
in classProperties
-