ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware

com.github.mrstampy.esp.openbci.rxtx
Class RxtxNativeLibLoader

java.lang.Object
  extended by com.github.mrstampy.esp.openbci.rxtx.RxtxNativeLibLoader

public class RxtxNativeLibLoader
extends java.lang.Object

The Class RxtxNativeLibLoader.


Field Summary
static java.lang.String I686_ARCH
          The Constant I686_ARCH.
static java.lang.String IA64_ARCH
          The Constant IA64_ARCH.
static java.lang.String LINUX_OS
          The Constant LINUX_OS.
static java.lang.String MAC_OS
          The Constant MAC_OS.
static java.lang.String SOLARIS_OS
          The Constant SOLARIS_OS.
static java.lang.String SPARC32_ARCH
          The Constant SPARC32_ARCH.
static java.lang.String SPARC64_ARCH
          The Constant SPARC64_ARCH.
static java.lang.String WIN_32_ARCH
          The Constant WIN_32_ARCH.
static java.lang.String WIN_64_ARCH
          The Constant WIN_64_ARCH.
static java.lang.String WINDOWS_OS
          The Constant WINDOWS_OS.
static java.lang.String X86_64_ARCH
          The Constant X86_64_ARCH.
 
Method Summary
static void loadRxtxSerialNativeLib()
          Load rxtx serial native lib.
static void loadRxtxSerialNativeLib(java.lang.String osName, java.lang.String osArch)
          Load rxtx serial native lib.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAC_OS

public static final java.lang.String MAC_OS
The Constant MAC_OS.

See Also:
Constant Field Values

WINDOWS_OS

public static final java.lang.String WINDOWS_OS
The Constant WINDOWS_OS.

See Also:
Constant Field Values

WIN_32_ARCH

public static final java.lang.String WIN_32_ARCH
The Constant WIN_32_ARCH.

See Also:
Constant Field Values

WIN_64_ARCH

public static final java.lang.String WIN_64_ARCH
The Constant WIN_64_ARCH.

See Also:
Constant Field Values

LINUX_OS

public static final java.lang.String LINUX_OS
The Constant LINUX_OS.

See Also:
Constant Field Values

X86_64_ARCH

public static final java.lang.String X86_64_ARCH
The Constant X86_64_ARCH.

See Also:
Constant Field Values

IA64_ARCH

public static final java.lang.String IA64_ARCH
The Constant IA64_ARCH.

See Also:
Constant Field Values

I686_ARCH

public static final java.lang.String I686_ARCH
The Constant I686_ARCH.

See Also:
Constant Field Values

SOLARIS_OS

public static final java.lang.String SOLARIS_OS
The Constant SOLARIS_OS.

See Also:
Constant Field Values

SPARC64_ARCH

public static final java.lang.String SPARC64_ARCH
The Constant SPARC64_ARCH.

See Also:
Constant Field Values

SPARC32_ARCH

public static final java.lang.String SPARC32_ARCH
The Constant SPARC32_ARCH.

See Also:
Constant Field Values
Method Detail

loadRxtxSerialNativeLib

public static void loadRxtxSerialNativeLib()
                                    throws java.io.IOException
Load rxtx serial native lib.

Throws:
java.io.IOException - Signals that an I/O exception has occurred.

loadRxtxSerialNativeLib

public static void loadRxtxSerialNativeLib(java.lang.String osName,
                                           java.lang.String osArch)
                                    throws java.io.IOException
Load rxtx serial native lib.

Parameters:
osName - the os name
osArch - the os arch
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

brought to you by Mr. Stampy