public abstract class PropertyResource extends Object
Modifier and Type | Field and Description |
---|---|
protected static Properties |
prop
Property object to handle
|
Modifier | Constructor and Description |
---|---|
protected |
PropertyResource()
Default constructor, loads the property file
|
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getResourceName()
Gets the resource name for the managed property
|
boolean |
isValidCode(String code)
Checks the parameter code in the managed prperty
|
protected static final Properties prop
protected PropertyResource()
protected abstract String getResourceName()
public boolean isValidCode(String code)
code
- key to look for in the propertiescode
as key