|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archive.util.PropertyUtils
public class PropertyUtils
Constructor Summary | |
---|---|
PropertyUtils()
|
Method Summary | |
---|---|
static boolean |
getBooleanProperty(java.lang.String key)
|
static int |
getIntProperty(java.lang.String key,
int fallback)
|
static java.lang.String |
getPropertyOrNull(java.lang.String key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyUtils()
Method Detail |
---|
public static java.lang.String getPropertyOrNull(java.lang.String key)
key
- Property key.
public static boolean getBooleanProperty(java.lang.String key)
key
- Property key.
public static int getIntProperty(java.lang.String key, int fallback)
key
- Key to use looking up system property.fallback
- If no value found for passed key
, return
fallback
.
fallback
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |