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

Quick Search    Search Deep

org.dbtutools.DbtuTools.core
Class ApiWrapper  view ApiWrapper download ApiWrapper.java

java.lang.Object
  extended byorg.dbtutools.DbtuTools.core.ApiWrapper

public class ApiWrapper
extends java.lang.Object

Wrapper class, covers the dbtuapiwrapper binary related stuff. It can not be instantiated.

Remark: Please notice, that core processes and utilities should not use methods of this class directly. Use the theme oriented class methods instead (for example org.dbtutools.DbtuTools.core.os.System#getEndianType() instead of getEndianType() 55 ).


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.
 
Constructor Summary
private ApiWrapper()
          Private declared Constructor, preventing the instantiation of the ApiWrapper class.
 
Method Summary
static int getEndianType()
          Detects and returns the endian type of the current running platform.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

ApiWrapper

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

Method Detail

getEndianType

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