public class SysProps extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DirSep |
static String |
DIRTOKEN_TMP |
static String |
EOL |
static boolean |
isWindows |
static int |
JAVA_VERSION |
static String |
PathSep |
static String |
SYSPROP_DIRPATH_TMP |
static String |
TMPDIR |
Constructor and Description |
---|
SysProps() |
Modifier and Type | Method and Description |
---|---|
static String[] |
dump(Properties props,
PrintStream strm) |
static String |
get(String name) |
static boolean |
get(String name,
boolean dflt) |
static int |
get(String name,
int dflt) |
static String |
get(String name,
String dflt) |
static long |
getTime(String name,
long dflt) |
static long |
getTime(String name,
String dflt) |
static Properties |
load(String pthnam) |
static boolean |
set(String name,
boolean val) |
static int |
set(String name,
int val) |
static String |
set(String name,
String newval) |
static long |
setTime(String name,
long val) |
static String[] |
sort(Properties props) |
public static final String EOL
public static final String DirSep
public static final String PathSep
public static final String SYSPROP_DIRPATH_TMP
public static final String DIRTOKEN_TMP
public static final String TMPDIR
public static final boolean isWindows
public static final int JAVA_VERSION
public static boolean get(String name, boolean dflt)
public static int get(String name, int dflt)
public static long getTime(String name, long dflt)
public static boolean set(String name, boolean val)
public static int set(String name, int val)
public static long setTime(String name, long val)
public static Properties load(String pthnam) throws IOException
IOException
public static String[] sort(Properties props)
public static String[] dump(Properties props, PrintStream strm)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.