Package org.jzy3d.os

Class OperatingSystem


  • public class OperatingSystem
    extends Object
    • Field Detail

      • version

        protected String version
      • windows

        protected boolean windows
      • mac

        protected boolean mac
      • unix

        protected boolean unix
      • solaris

        protected boolean solaris
    • Constructor Detail

      • 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 Detail

      • 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()
      • main

        public static void main​(String[] args)