org.eodisp.util.configuration
Interface SystemPropertyMapper
- All Known Implementing Classes:
- BasicSystemPropertyMapper
public interface SystemPropertyMapper
Interface of the system property wrapper. Maps configuration entries (Configuration.Entry)
to system properties.
- Version:
- $Id: CommandlineMapper.java 2094 2006-05-15 13:28:33Z ibirrer $
- Author:
- ibirrer
|
Method Summary |
java.lang.String |
mapEntry(Configuration.Entry entry)
Returns the key in the system property (System.getProperty(String))
that is mapped to the given entry. |
NULL_SYSTEM_PROPERTY_MAPPER
static final SystemPropertyMapper NULL_SYSTEM_PROPERTY_MAPPER
mapEntry
java.lang.String mapEntry(Configuration.Entry entry)
- Returns the key in the system property (
System.getProperty(String))
that is mapped to the given entry. A return value of null
means that no system property is mapped to the given entry.
- Parameters:
entry - the entry that shall be mapped to a system property
- Returns:
- the key of the system property mapped to the given configuration
entry or null if the given configuration entry shall not be
mapped to a system property.