Class CamelCaseOrderedProperties

java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.apache.camel.util.CamelCaseOrderedProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public final class CamelCaseOrderedProperties extends Properties
This class is a camelCase ordered Properties where the key/values are stored in the order they are added or loaded.

The keys are stored in the original case, for example a key of camel.main.stream-caching-enabled is stored as camel.main.stream-caching-enabled.

However the lookup of a value by key with the get methods, will support camelCase or dash style.

Note: This implementation is only intended as implementation detail for Camel tooling such as camel-jbang, 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: