com.jniwrapper.win32.system
Class SystemInfo

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Structure
          extended bycom.jniwrapper.win32.system.SystemInfo
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class SystemInfo
extends com.jniwrapper.Structure

This class provides information and methods relevant to SYSTEM_INFO structure, and provides additional methods related to system information.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
f
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
SystemInfo()
          Constructs and initializes a new instance with actual values representing system information.
SystemInfo(SystemInfo that)
           
 
Method Summary
 java.lang.Object clone()
           
 long getActiveProcessorMask()
           
 long getAllocationGranularity()
           
static java.lang.String getComputerName()
          Returns the name of the local computer.
 long getMaxAppAddress()
           
 long getMinAppAddress()
           
 long getNumberOfProcessors()
           
 long getPageSize()
           
 long getProcessorArchitecture()
           
 long getProcessorLevel()
           
 long getProcessorRevision()
           
 long getProcessorType()
           
static java.lang.String getUserName()
          Returns the user name logged into the system.
 
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
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemInfo

public SystemInfo()
Constructs and initializes a new instance with actual values representing system information.


SystemInfo

public SystemInfo(SystemInfo that)
Method Detail

getProcessorArchitecture

public long getProcessorArchitecture()

getPageSize

public long getPageSize()

getMinAppAddress

public long getMinAppAddress()

getMaxAppAddress

public long getMaxAppAddress()

getActiveProcessorMask

public long getActiveProcessorMask()

getNumberOfProcessors

public long getNumberOfProcessors()

getProcessorType

public long getProcessorType()

getAllocationGranularity

public long getAllocationGranularity()

getProcessorLevel

public long getProcessorLevel()

getProcessorRevision

public long getProcessorRevision()

clone

public java.lang.Object clone()

getComputerName

public static java.lang.String getComputerName()
Returns the name of the local computer.

Returns:
name of the computer.

getUserName

public static java.lang.String getUserName()
Returns the user name logged into the system.

Returns:
name of the logged in user.