public final class SystemUtil extends Object
Utility methods for working with System, particularly safe, default value supported lookups into System.getProperty(java.lang.String) and other OS/system level calls.
| Modifier and Type | Field and Description |
|---|---|
static String |
LINE_SEPARATOR |
| Modifier and Type | Method and Description |
|---|---|
static String |
getProperty(String theProperty,
String theDefault) |
static boolean |
getPropertyAsBoolean(String theProperty,
boolean theDefault) |
static double |
getPropertyAsDouble(String theProperty,
double theDefault) |
static float |
getPropertyAsFloat(String theProperty,
float theDefault) |
static int |
getPropertyAsInt(String theProperty,
int theDefault) |
static long |
getPropertyAsLong(String theProperty,
long theDefault) |
public static final String LINE_SEPARATOR
public static boolean getPropertyAsBoolean(String theProperty, boolean theDefault)
public static int getPropertyAsInt(String theProperty, int theDefault)
public static long getPropertyAsLong(String theProperty, long theDefault)
public static float getPropertyAsFloat(String theProperty, float theDefault)
public static double getPropertyAsDouble(String theProperty, double theDefault)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.