Class OS


  • public class OS
    extends Object
    OS information
    • Constructor Detail

      • OS

        public OS()
    • Method Detail

      • getName

        public String getName()
        Returns the OS name.
        Returns:
        the OS name.
      • getVersion

        public String getVersion()
        Returns the OS version.
        Returns:
        the OS version.
      • getArch

        public String getArch()
        Returns the OS arch.
        Returns:
        the OS arch.
      • isWindows

        public boolean isWindows()
        Returns true if the operating system is Windows and false otherwise
        Returns:
        true if the operating system is Windows and false otherwise