Package com.exedio.cope.util
Class ProxyPropertiesSource
java.lang.Object
com.exedio.cope.util.ProxyPropertiesSource
- All Implemented Interfaces:
Properties.Source
An proxy implementation of
Properties.Source.
All methods implementing Properties.Source
do forward to another Properties.Source.
You may want to subclass this class instead of
implementing Properties.Source directly
to make your subclass cope with new methods
in Properties.Source.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Properties.SourcekeySet()Returns all keys, for whichProperties.Source.get(String)does not return null.reload()Reloads the contents of this source from its origin, if this makes sense for the implementation.protected abstract ProxyPropertiesSourcereload(Properties.Source reloadedTarget) toString()
-
Constructor Details
-
ProxyPropertiesSource
-
-
Method Details
-
getTarget
-
get
- Specified by:
getin interfaceProperties.Source
-
keySet
Description copied from interface:Properties.SourceReturns all keys, for whichProperties.Source.get(String)does not return null. This operation is optional - if this source does not support this operation, it returns null. The result is always unmodifiable.- Specified by:
keySetin interfaceProperties.Source
-
reload
Description copied from interface:Properties.SourceReloads the contents of this source from its origin, if this makes sense for the implementation. The reloaded contents are returned as a new source - this source is not modified.If the implementation does not support reloading, simply return
this, which is also the default implementation.- Specified by:
reloadin interfaceProperties.Source
-
reload
-
getDescription
- Specified by:
getDescriptionin interfaceProperties.Source
-
toString
-