Package gw.internal.gosu.properties
Interface PropertySet
- All Known Implementing Classes:
EmptyPropertySet
,PropertiesPropertySet
,SystemPropertiesPropertySet
public interface PropertySet
Basic interface that describes a set of properties - could be a Properties object or a
resource bundle or any other set of key/value string pairs. The PropertiesTypeLoader builds types
on this basic interface
-
Method Summary
-
Method Details
-
getName
String getName()The name of the property set, which will be used as the name of the type- Returns:
- a non null name
-
getKeys
The set of keys which can be used to look up values in this property set- Returns:
- a non null set containing the keys
-
getValue
Get the value corresponding to the given key- Parameters:
key
- the key, never null- Returns:
- the value corresponding to the given key or null if there is no corresponding value
-