edu.umd.cs.findbugs
public class SystemProperties extends Object
Field Summary | |
---|---|
static boolean | ASSERTIONS_ENABLED |
Method Summary | |
---|---|
static boolean | getBoolean(String arg0)
Get boolean property, returning false if a security manager prevents us
from accessing system properties |
static boolean | getBoolean(String name, boolean defaultValue) |
static Integer | getInteger(String arg0, int arg1) |
static String | getProperty(String arg0) |
static String | getProperty(String arg0, String arg1) |
Returns: true if the property exists and is set to true
Parameters: arg0 property name arg1 default value
Returns: the int value (or arg1 if the property does not exist)
Parameters: arg0 property name
Returns: string value (or null if the property does not exist)
Parameters: arg0 property name arg1 default value
Returns: string value (or arg1 if the property does not exist)