Package jnr.ffi

Class Platform.Windows

Enclosing class:
Platform

private static class Platform.Windows extends Platform.Supported
A Platform subclass representing the Windows system.
  • Field Details

  • Constructor Details

    • Windows

      public Windows()
  • Method Details

    • osName

      private String osName()
    • isServer

      public boolean isServer()
      Returns:
      true if this Windows version is a Windows server version
    • isVista

      public boolean isVista()
      Returns:
      true if this Windows version is Windows Vista
    • is7

      public boolean is7()
      Returns:
      true if this Windows version is Windows 7
    • is8

      public boolean is8()
      Returns:
      true if this Windows version is Windows 8 (or 8.1)
    • is10

      public boolean is10()
      Returns:
      true if this Windows version is Windows 10
    • is11

      public boolean is11()
      Returns:
      true if this Windows versions is Windows 11