|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deckfour.xes.util.XRuntimeUtils
public class XRuntimeUtils
This class provides runtime utilities for library components. Its main purpose is to identify the host OS, and to locate a standard support folder location on each platform.
Nested Class Summary | |
---|---|
static class |
XRuntimeUtils.OS
Enum for defining host platforms. |
Field Summary | |
---|---|
static XRuntimeUtils.OS |
currentOs
Current host platform. |
static String |
OPENXES_VERSION
Version string for the OpenXES library implementation. |
static String |
XES_VERSION
Version string for the supported XES standard. |
Constructor Summary | |
---|---|
XRuntimeUtils()
|
Method Summary | |
---|---|
static XRuntimeUtils.OS |
determineOS()
Determines the current host platform. |
static File |
getExtensionCacheFolder()
Retrieves the directory file of the platform-dependent OpenXES extension definition file folder. |
static String |
getSupportFolder()
Retrieves the path of the platform-dependent OpenXES support folder. |
static boolean |
isRunningLinux()
Checks whether the current platform is Linux. |
static boolean |
isRunningMacOsX()
Checks whether the current platform is Mac OS X. |
static boolean |
isRunningUnix()
Checks whether the current platform is some flavor of Unix. |
static boolean |
isRunningWindows()
Checks whether the current platform is Windows. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String XES_VERSION
public static final String OPENXES_VERSION
public static XRuntimeUtils.OS currentOs
Constructor Detail |
---|
public XRuntimeUtils()
Method Detail |
---|
public static XRuntimeUtils.OS determineOS()
public static boolean isRunningWindows()
public static boolean isRunningMacOsX()
public static boolean isRunningLinux()
public static boolean isRunningUnix()
public static String getSupportFolder()
public static File getExtensionCacheFolder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |