Class IOHelper.OsCheck
java.lang.Object
net.simplace.core.service.IOHelper.OsCheck
- Enclosing class:
IOHelper
Helper class to determine the operating system the JVM runs on.
Please keep the notes below as a pseudo-license:
http://stackoverflow.com/questions/228477/how-do-i-programmatically-
determine-operating-system-in-java compare to
http://svn.terracotta.org/svn
/tc/dso/tags/2.6.4/code/base/common/src/com/tc/util/runtime/Os.java
http:/
/www.docjar.com/html/api/org/apache/commons/lang/SystemUtils.java.html
- Author:
- Andreas Enders
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IOHelper.OsCheck.OSTypeDetects the operating system from theos.namesystem property and caches the result.
-
Field Details
-
detectedOS
-
-
Constructor Details
-
OsCheck
public OsCheck()
-
-
Method Details
-
getOperatingSystemType
Detects the operating system from theos.namesystem property and caches the result.- Returns:
- the detected operating system
-