Package gw.internal.gosu.properties
Class SystemPropertiesPropertySet
- java.lang.Object
-
- gw.internal.gosu.properties.SystemPropertiesPropertySet
-
- All Implemented Interfaces:
PropertySet
public class SystemPropertiesPropertySet extends Object implements PropertySet
Makes available the standard system properties, which should be available on all JVMs
-
-
Field Summary
Fields Modifier and Type Field Description static PropertySetSource
SOURCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getKeys()
The set of keys which can be used to look up values in this property setString
getName()
The name of the property set, which will be used as the name of the typeString
getValue(String key)
Get the value corresponding to the given key
-
-
-
Field Detail
-
SOURCE
public static final PropertySetSource SOURCE
-
-
Method Detail
-
getKeys
public Set<String> getKeys()
Description copied from interface:PropertySet
The set of keys which can be used to look up values in this property set- Specified by:
getKeys
in interfacePropertySet
- Returns:
- a non null set containing the keys
-
getName
public String getName()
Description copied from interface:PropertySet
The name of the property set, which will be used as the name of the type- Specified by:
getName
in interfacePropertySet
- Returns:
- a non null name
-
getValue
public String getValue(String key)
Description copied from interface:PropertySet
Get the value corresponding to the given key- Specified by:
getValue
in interfacePropertySet
- Parameters:
key
- the key, never null- Returns:
- the value corresponding to the given key or null if there is no corresponding value
-
-