Class WindowsOperatingSystem

java.lang.Object
oshi.software.common.AbstractOperatingSystem
oshi.software.common.os.windows.WindowsOperatingSystem
All Implemented Interfaces:
OperatingSystem

@ThreadSafe public abstract class WindowsOperatingSystem extends AbstractOperatingSystem
Common base class for Windows operating system implementations.
  • Field Details

    • USE_PROCSTATE_SUSPENDED

      protected static final boolean USE_PROCSTATE_SUSPENDED
  • Constructor Details

    • WindowsOperatingSystem

      protected WindowsOperatingSystem()
      Default constructor.
  • Method Details

    • queryManufacturer

      protected String queryManufacturer()
      Description copied from class: AbstractOperatingSystem
      Queries the OS manufacturer.
      Specified by:
      queryManufacturer in class AbstractOperatingSystem
      Returns:
      the manufacturer string
    • parseCodeName

      protected static String parseCodeName(int suiteMask)
      Gets suites available on the system and return as a codename.
      Parameters:
      suiteMask - The suite mask bitmask
      Returns:
      Suites