Package jnr.ffi
Class Platform.Windows
java.lang.Object
jnr.ffi.Platform
jnr.ffi.Platform.Supported
jnr.ffi.Platform.Windows
- Enclosing class:
- Platform
A
Platform
subclass representing the Windows system.-
Nested Class Summary
Nested classes/interfaces inherited from class jnr.ffi.Platform
Platform.CPU, Platform.IbmI, Platform.Linux, Platform.OS
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
private static final String
Fields inherited from class jnr.ffi.Platform
libPattern
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jnr.ffi.Platform
addressSize, getCPU, getName, getNativePlatform, getOS, getOSName, getPlatform, getStandardCLibraryName, getVersion, getVersionMajor, getVersionMinor, is32Bit, is64Bit, isBigEndian, isBSD, isLittleEndian, isUnix, libraryLocations, locateLibrary, locateLibrary, longSize, mapLibraryName
-
Field Details
-
WINDOWS_SERVER
- See Also:
-
WINDOWS_VISTA
- See Also:
-
WINDOWS_7
- See Also:
-
WINDOWS_8
- See Also:
-
WINDOWS_10
- See Also:
-
WINDOWS_11
- See Also:
-
-
Constructor Details
-
Windows
public Windows()
-
-
Method Details
-
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
-