| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: value of the Boolean system property or falsethe name of the system property. name)Retrieves a Boolean System property, or returns false if:
|
| public static Integer | Returns: value of the Integer system property or the default valuethe name of the system property. name, Integer the default value def)Retrieves an Integer System property |
| public static Long | Returns: value of the Long system property or the default valuethe name of the system property. name, Long the default value def)Retrieves an Long System property |
| public static String | Returns: value of the system property or the default valuethe name of the system property. name, String a default value. defaultValue)Retrieves a System property, or returns some default value if:
|
| public static String | Returns: value of the system property or nullthe name of the system property. name)Retrieves a System property, or null if:
|
| public static String | Returns: the found namethe non-null name=value String nameValue)Sets a system property from a |
| public static String | Returns: the found property name or null if the operation wasn't successfulthe non-null name=value String nameValue)Sets a system property from a |
| SystemUtil | back to summary |
|---|---|
| public SystemUtil() | |
| getBooleanSafe | back to summary |
|---|---|
| public static boolean getBooleanSafe(String name) Retrieves a Boolean System property, or returns false if:
| |
| getIntegerSafe | back to summary |
|---|---|
| public static Integer getIntegerSafe(String name, Integer def) Retrieves an Integer System property | |
| getLongSafe | back to summary |
|---|---|
| public static Long getLongSafe(String name, Long def) Retrieves an Long System property | |
| getSystemPropertySafe | back to summary |
|---|---|
| public static String getSystemPropertySafe(String name, String defaultValue) Retrieves a System property, or returns some default value if:
| |
| getSystemPropertySafe | back to summary |
|---|---|
| public static String getSystemPropertySafe(String name) Retrieves a System property, or null if:
| |
| setSystemPropertyFrom | back to summary |
|---|---|
| public static String setSystemPropertyFrom(final String nameValue) Sets a system property from a
| |
| setSystemPropertyFromSafe | back to summary |
|---|---|
| public static String setSystemPropertyFromSafe(final String nameValue) Sets a system property from a
| |