Class OSinfo

java.lang.Object
com.luna.common.os.OSinfo

public class OSinfo extends Object
Author:
luna
  • Method Details

    • isLinux

      public static boolean isLinux()
    • isMacOS

      public static boolean isMacOS()
    • isMacOSX

      public static boolean isMacOSX()
    • isWindows

      public static boolean isWindows()
    • isOS2

      public static boolean isOS2()
    • isSolaris

      public static boolean isSolaris()
    • isSunOS

      public static boolean isSunOS()
    • isMPEiX

      public static boolean isMPEiX()
    • isHPUX

      public static boolean isHPUX()
    • isAix

      public static boolean isAix()
    • isOS390

      public static boolean isOS390()
    • isFreeBSD

      public static boolean isFreeBSD()
    • isIrix

      public static boolean isIrix()
    • isDigitalUnix

      public static boolean isDigitalUnix()
    • isNetWare

      public static boolean isNetWare()
    • isOSF1

      public static boolean isOSF1()
    • isOpenVMS

      public static boolean isOpenVMS()
    • getOSname

      public static EPlatform getOSname()
      获取操作系统名字
      Returns:
      操作系统名