public static class Resources.StringProp extends Resources.Prop
| Modifier and Type | Field and Description |
|---|---|
private String |
defaultValue |
accessor, hasDefaultkey, method| Constructor and Description |
|---|
StringProp(Resources.PropertyAccessor accessor,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
String |
defaultValue() |
String |
get()
Returns the value of this String property.
|
String |
get(String defaultValue)
Returns the value of this String property, returning the given default
value if the property is not set.
|
checkDefault, checkDefault2, hasDefault, isSetderiveKeyprivate final String defaultValue
public StringProp(Resources.PropertyAccessor accessor, Method method)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.