|
||||||||||
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.system.VersionInfo
public class VersionInfo
This provides version information about underlying Windows platform.
Field Summary | |
---|---|
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. |
Fields inherited from class com.jniwrapper.Structure |
---|
i |
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
VersionInfo()
|
|
VersionInfo(VersionInfo that)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class com.jniwrapper.Structure |
---|
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
---|
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, 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
public static final int VER_NT_WORKSTATION
Constructor Detail |
---|
public VersionInfo()
public VersionInfo(VersionInfo that)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |