public class VersionInfo
extends com.jniwrapper.Structure
Modifier and Type | Field and Description |
---|---|
static int |
VER_NT_WORKSTATION
Windows Vista, Windows XP Professional, Windows XP Home Edition, or Windows 2000 Professional.
|
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 and Description |
---|
VersionInfo() |
VersionInfo(VersionInfo that) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
long |
getBuildNumber() |
long |
getMajor() |
long |
getMinor() |
long |
getPlatformId()
Returns operating system platform, which can be one of the
VER_PLATFORM_XXX values. |
long |
getProductType() |
java.lang.String |
getServicePack()
Returns additional version information string.
|
boolean |
isNT() |
boolean |
isWin2003() |
boolean |
isWin2008() |
boolean |
isWin2k() |
boolean |
isWin7() |
boolean |
isWin9x() |
boolean |
isWinMe() |
boolean |
isWinVista() |
boolean |
isWinXP() |
acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
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
public static final int VER_NT_WORKSTATION
public VersionInfo()
public VersionInfo(VersionInfo that)
public long getBuildNumber()
public long getMajor()
public long getMinor()
public long getProductType()
public long getPlatformId()
VER_PLATFORM_XXX
values.public java.lang.String getServicePack()
public boolean isNT()
public boolean isWin9x()
public boolean isWin2k()
public boolean isWinMe()
public boolean isWinXP()
public boolean isWin2003()
public boolean isWinVista()
public boolean isWin2008()
public boolean isWin7()
public java.lang.Object clone()
clone
in class com.jniwrapper.Structure