|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eodisp.util.configuration.BasicSystemPropertyMapper
public class BasicSystemPropertyMapper
A basic implementation of the system property mapper interface. Returns the
key of the configuration entry prefixed with the given prefix in the
constructor as the new key for the system property. The default prefix
org.eodisp. is used if null is given in the
constructor.
| Field Summary | |
|---|---|
static SystemPropertyMapper |
INSTANCE
|
| Fields inherited from interface org.eodisp.util.configuration.SystemPropertyMapper |
|---|
NULL_SYSTEM_PROPERTY_MAPPER |
| Constructor Summary | |
|---|---|
BasicSystemPropertyMapper(java.lang.String prefix)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static SystemPropertyMapper INSTANCE
| Constructor Detail |
|---|
public BasicSystemPropertyMapper(java.lang.String prefix)
| Method Detail |
|---|
public java.lang.String mapEntry(Configuration.Entry entry)
SystemPropertyMapperSystem.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.
mapEntry in interface SystemPropertyMapperentry - the entry that shall be mapped to a system property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||