|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jniwrapper.Parameter | +--com.jniwrapper.Structure | +--com.jniwrapper.win32.VersionInfo
This provides version information about underlying Windows platform.
Field Summary | |
static int |
VER_PLATFORM_WIN32_CE
Windows CE |
static int |
VER_PLATFORM_WIN32_NT
Windows NT, Windows 2000, Windows XP, or Windows .NET Server 2003 family. |
static int |
VER_PLATFORM_WIN32_WINDOWS
Windows 95, Windows 98, or Windows Me. |
static int |
VER_PLATFORM_WIN32s
Win32s on Windows 3.1. |
Constructor Summary | |
VersionInfo()
|
Method Summary | |
long |
getBuildNumber()
|
long |
getMajor()
|
long |
getMinor()
|
long |
getPlatformId()
Returns operating system platform, which can be one of the VER_PLATFORM_XXX
values. |
java.lang.String |
getServicePack()
Returns additional version information string. |
boolean |
isNT()
|
boolean |
isWin2k()
|
boolean |
isWin9x()
|
boolean |
isWinMe()
|
Methods inherited from class com.jniwrapper.Structure |
acceptIOPerformer, addMembers, clone, computeLength, getAlignmentRequirement, getLength, getMember, getMembers, init, init, pop, push, read, setDataBuffer, toString, write |
Methods inherited from class com.jniwrapper.Parameter |
asReturnValue, equals, getAlignedLength, getDataBuffer, getDataBufferOffset, indent, read, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int VER_PLATFORM_WIN32s
public static final int VER_PLATFORM_WIN32_WINDOWS
public static final int VER_PLATFORM_WIN32_NT
public static final int VER_PLATFORM_WIN32_CE
Constructor Detail |
public VersionInfo()
Method Detail |
public long getBuildNumber()
public long getMajor()
public long getMinor()
public long getPlatformId()
VER_PLATFORM_XXX
values.
public java.lang.String getServicePack()
public boolean isNT()
public boolean isWin9x()
public boolean isWin2k()
public boolean isWinMe()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |