Package org.jzy3d.os

Class OperatingSystem

java.lang.Object
org.jzy3d.os.OperatingSystem

public class OperatingSystem extends Object
  • Field Details

    • MACOS

      public static OperatingSystem MACOS
    • WINDOWS

      public static OperatingSystem WINDOWS
    • UNIX

      public static OperatingSystem UNIX
    • name

      protected String name
    • version

      protected String version
    • arch

      protected String arch
    • jvm

      protected String jvm
    • windows

      protected boolean windows
    • mac

      protected boolean mac
    • unix

      protected boolean unix
    • solaris

      protected boolean solaris
  • Constructor Details

    • OperatingSystem

      public OperatingSystem()
    • OperatingSystem

      public OperatingSystem(String osName)
    • OperatingSystem

      public OperatingSystem(String osName, String osVersion)
      Mainly for test purpose.
    • OperatingSystem

      public OperatingSystem(String osName, String osVersion, String arch, String java, boolean windows, boolean mac, boolean unix, boolean solaris)
  • Method Details

    • formatName

      protected String formatName(String osName)
    • getName

      public String getName()
    • getVersion

      public String getVersion()
    • getJavaVersion

      public String getJavaVersion()
    • getArch

      public String getArch()
    • isWindows

      public boolean isWindows()
    • isMac

      public boolean isMac()
    • isUnix

      public boolean isUnix()
    • isSolaris

      public boolean isSolaris()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • main

      public static void main(String[] args)