public class PropertiesPropertySet extends Object implements PropertySet
Properties object. Knows how to finds Properties
files within a module and to converts them into PropertySet objects.| Modifier and Type | Class and Description |
|---|---|
static class |
PropertiesPropertySet.Source
Knows how to find all the property files in a module and create PropertiesPropertySets
from them.
|
| Constructor and Description |
|---|
PropertiesPropertySet(String name,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getKeys()
The set of keys which can be used to look up values in this property set
|
String |
getName()
The name of the property set, which will be used as the name of the type
|
String |
getValue(String key)
Get the value corresponding to the given key
|
public PropertiesPropertySet(String name, Properties properties)
public Set<String> getKeys()
PropertySetgetKeys in interface PropertySetpublic String getName()
PropertySetgetName in interface PropertySetpublic String getValue(String key)
PropertySetgetValue in interface PropertySetkey - the key, never nullCopyright © 2015. All rights reserved.