public static class Resources.IntProp extends Resources.Prop
Modifier and Type | Field and Description |
---|---|
private int |
defaultValue |
accessor, hasDefault
key, method
Constructor and Description |
---|
IntProp(Resources.PropertyAccessor accessor,
java.lang.reflect.Method method) |
Modifier and Type | Method and Description |
---|---|
int |
defaultValue() |
int |
get()
Returns the value of this integer property.
|
int |
get(int defaultValue)
Returns the value of this integer property, returning the given default
value if the property is not set.
|
checkDefault, checkDefault2, hasDefault, isSet
deriveKey
public IntProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.