public class JS
extends java.lang.Object
| Constructor and Description |
|---|
JS()
Creates a new instance of JS (JavaSystem).
|
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanMemory()
calls GarbageCollect to free any finished memory
|
static java.lang.String |
getAllEnv()
Read the complete Java Environment settings into an xml String
|
static java.lang.String |
getCurrentMethodName_static()
Return the name of the routine that called getCurrentMethodName
|
static java.lang.String |
getCurrentMethodName_static(int line)
Return the name of the routine that called getCurrentMethodName
|
static java.lang.String |
getCurrentMethodName()
Return the name of the routine that called getCurrentMethodName
|
static java.lang.String |
getCurrentStack_static()
Return the current stack
|
static java.lang.String |
getEnv(java.lang.String envName) |
static java.lang.String |
getFileSeperator()
returns the file seperator char for this system.
|
static java.lang.String |
getFreeMemory() |
static java.lang.String |
getMaxMemory() |
static java.lang.String |
getProperty(java.lang.String propName) |
static java.lang.String |
getShortCurrentMethodName_static()
Return the name of the routine that called getCurrentMethodName
|
static java.lang.String |
getTempFolderName()
gets the java.io.tmpdir folder name.
|
static java.lang.String |
getTotalMemory() |
static java.lang.String |
getUsedMemory() |
static java.lang.String |
getUserHomeFolderName()
gets the user.home folder name.
|
static boolean |
isPathSeparatorChar(char c)
Check if this is a path separator.
|
public JS()
public static java.lang.String getFreeMemory()
public static java.lang.String getTotalMemory()
public static java.lang.String getMaxMemory()
public static java.lang.String getUsedMemory()
public static void cleanMemory()
public static java.lang.String getShortCurrentMethodName_static()
public static java.lang.String getCurrentMethodName_static()
public static java.lang.String getCurrentMethodName_static(int line)
public static java.lang.String getCurrentStack_static()
public static java.lang.String getCurrentMethodName()
public static java.lang.String getFileSeperator()
public static java.lang.String getUserHomeFolderName()
public static java.lang.String getTempFolderName()
public static java.lang.String getAllEnv()
public static java.lang.String getEnv(java.lang.String envName)
public static java.lang.String getProperty(java.lang.String propName)
public static boolean isPathSeparatorChar(char c)