public final class SystemUtil extends Object
| Constructor and Description |
|---|
SystemUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getFreeMemory() |
static String |
getPropertyOrEnvironmentVariable(String name)
Gets either java property or environment variable with given name.
|
static long |
getSystemTimeMillis() |
static boolean |
runProcessAndWait(String execPath, String params) |
public static long getSystemTimeMillis()
public static long getFreeMemory()
public static String getPropertyOrEnvironmentVariable(String name)
name - the name of either java property or environment variable.
public static boolean runProcessAndWait(String execPath, String params) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 1998–2017 iText Group NV. All rights reserved.