Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.dbtutools.DbtuTools.core.os
Class System  view System download System.java

java.lang.Object
  extended byorg.dbtutools.DbtuTools.core.os.System

public class System
extends java.lang.Object

The System class provides operating system related stuff. It cannot be instantiated.


Field Summary
static int ENDIAN_TYPE_BIG
          Constant standing for all big endian platforms as most RISC machines are.
static int ENDIAN_TYPE_LITTLE
          Constant standing for all little endian platforms as systems with Intel x86 processor(s) are.
static int OS_FAMILY_UNIX
          Constant standing for the Unix operating systems, like IBM's AIX, Linux, Sun Solaris and others.
static int OS_FAMILY_WINTEL
          Constant standing for all DOS succession operating systems, like the Microsoft Windows family and IBM's OS/2.
 
Constructor Summary
private System()
          Private declared Constructor, preventing the instantiation of the System class.
 
Method Summary
static int getEndianType()
          Detects and returns the endian type of the current running platform.

Background: The detection is done by calling the ApiWrapper.getEndianType()>ApiWrapper.getEndianType() 55 method.
static int getOsFamily()
          Detects and returns the operating system family.

Background: The detection is done by calling the System.getOsFamily()>System.getOsFamily() 55 method.
static int getParentProcessId()
          Detects and returns the Parent Process ID (identifies the caller of the Java program).

Background: The detection is done by interpreting the value of java.lang.System.getProperty("PPID");
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OS_FAMILY_WINTEL

public static final int OS_FAMILY_WINTEL
Constant standing for all DOS succession operating systems, like the Microsoft Windows family and IBM's OS/2. ************************************************************************

See Also:
Constant Field Values

OS_FAMILY_UNIX

public static final int OS_FAMILY_UNIX
Constant standing for the Unix operating systems, like IBM's AIX, Linux, Sun Solaris and others. ************************************************************************

See Also:
Constant Field Values

ENDIAN_TYPE_LITTLE

public static final int ENDIAN_TYPE_LITTLE
Constant standing for all little endian platforms as systems with Intel x86 processor(s) are. ************************************************************************

See Also:
Constant Field Values

ENDIAN_TYPE_BIG

public static final int ENDIAN_TYPE_BIG
Constant standing for all big endian platforms as most RISC machines are. ************************************************************************

See Also:
Constant Field Values
Constructor Detail

System

private System()
Private declared Constructor, preventing the instantiation of the System class. ************************************************************************

Method Detail

getEndianType

public static int getEndianType()
                         throws org.edelbyte.util.UnknownValueException
Detects and returns the endian type of the current running platform.

Background: The detection is done by calling the ApiWrapper.getEndianType()>ApiWrapper.getEndianType() 55 method.


getOsFamily

public static int getOsFamily()
                       throws org.edelbyte.util.UnknownValueException
Detects and returns the operating system family.

Background: The detection is done by calling the System.getOsFamily()>System.getOsFamily() 55 method.


getParentProcessId

public static int getParentProcessId()
                              throws org.edelbyte.util.UnknownValueException
Detects and returns the Parent Process ID (identifies the caller of the Java program).

Background: The detection is done by interpreting the value of java.lang.System.getProperty("PPID");