edu.wpi.first.wpilibj.hal

## Class JNIWrapper

- java.lang.Object
- - edu.wpi.first.wpilibj.hal.JNIWrapper

- Direct Known Subclasses:
    AccelerometerJNI, AnalogGyroJNI, AnalogJNI, CANJNI, CompressorJNI, ConstantsJNI, CounterJNI, DigitalGlitchFilterJNI, DIOJNI, EncoderJNI, FRCNetComm, HAL, HALUtil, I2CJNI, InterruptJNI, NotifierJNI, OSSerialPortJNI, PDPJNI, PortsJNI, PowerJNI, SerialPortJNI, SolenoidJNI, SPIJNI, ThreadsJNI

      public class JNIWrapper
      extends java.lang.Object

  Base class for all JNI wrappers.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JNIWrapper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static int` | `getPort(byte channel)`
    `static int` | `getPortWithModule(byte module, byte channel)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JNIWrapper

          public JNIWrapper()

  - ### Method Detail

    - #### getPortWithModule

          public static int getPortWithModule(byte module,
                                              byte channel)

    - #### getPort

          public static int getPort(byte channel)