Class IOHelper.OsCheck

java.lang.Object
net.simplace.core.service.IOHelper.OsCheck
Enclosing class:
IOHelper

public static final class IOHelper.OsCheck extends Object
helper class to check the operating system this Java VM runs in 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
  • Field Details

  • Constructor Details

    • OsCheck

      public OsCheck()
  • Method Details

    • getOperatingSystemType

      public static IOHelper.OsCheck.OSType getOperatingSystemType()
      detect the operating system from the os.name System property and cache the result
      Returns:
      - the operating system detected