|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.netty.util.internal.SystemPropertyUtil
public class SystemPropertyUtil
Accesses the system property swallowing a SecurityException
.
Method Summary | |
---|---|
static String |
get(String key)
Returns the value of the Java system property with the specified key . |
static int |
get(String key,
int def)
Returns the value of the Java system property with the specified key , while falling back to the specified default value if
the property access fails. |
static String |
get(String key,
String def)
Returns the value of the Java system property with the specified key , while falling back to the specified default value if
the property access fails. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String get(String key)
key
.
null
if there's no such property or if an access to the
specified property is not allowed.public static String get(String key, String def)
key
, while falling back to the specified default value if
the property access fails.
def
if there's no such property or if an access to the
specified property is not allowed.public static int get(String key, int def)
key
, while falling back to the specified default value if
the property access fails.
def
if there's no such property or if an access to the
specified property is not allowed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |