This file is a helper class for internal usage only. Be aware that its API and functionality may be changed in future. More...
|
static long |
GetTimeBasedSeed () |
|
static int |
GetTimeBasedIntSeed () |
|
static long |
GetRelativeTimeMillis () |
|
Should be used in relative constructs (for example to check how many milliseconds have passed). Shouldn't be used in the DateTime creation since the nanoseconds are expected there. More...
|
|
static long |
GetFreeMemory () |
|
static String |
GetEnvironmentVariable (String name) |
|
Gets environment variable with given name. More...
|
|
static bool |
RunProcessAndWait (String exec, String @params) |
|
static bool |
RunProcessAndWait (String exec, String @params, String workingDirPath) |
|
static int |
RunProcessAndGetExitCode (String exec, String @params) |
|
static int |
RunProcessAndGetExitCode (String exec, String @params, String workingDirPath) |
|
static String |
RunProcessAndGetOutput (String exec, String @params) |
|
static ProcessInfo |
RunProcessAndGetProcessInfo (String exec, String @params) |
|
static StringBuilder |
RunProcessAndCollectErrors (String exec, String @params) |
|
This file is a helper class for internal usage only. Be aware that its API and functionality may be changed in future.
◆ GetEnvironmentVariable()
static String iText.Commons.Utils.SystemUtil.GetEnvironmentVariable |
( |
String |
name |
) |
|
|
inlinestatic |
Gets environment variable with given name.
-
Parameters
-
name |
the name of environment variable. |
-
Returns
-
variable value or null if there is no such.
◆ GetRelativeTimeMillis()
static long iText.Commons.Utils.SystemUtil.GetRelativeTimeMillis |
( |
|
) |
|
|
inlinestatic |
Should be used in relative constructs (for example to check how many milliseconds have passed). Shouldn't be used in the DateTime creation since the nanoseconds are expected there.
-
Returns
-
relative time in milliseconds