com.pavolibrary.io

## 类 SerialAPI

- java.lang.Object
- - com.pavolibrary.io.SerialAPI

-     public class SerialAPI
      extends java.lang.Object

  Created by swm on 2019-12-06

- - ### 构造器概要

    构造器
    构造器和说明
    `SerialAPI(java.io.File device, int baudRate, int flowControl)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `clear()`
    `int` | `closeDevice()`
    `java.lang.String` | `getFilePath()`
    `java.lang.Boolean` | `isOpen()`
    `int` | `openDevice()`
    `int` | `readBuffer(byte[] readBuffer, int offsetSize, int readSize, int waitTime)`
    `int` | `writeBuffer(byte[] writeBuffer, int offsetSize, int writeSize, int waitTime)`

    - ### 从类继承的方法 java.lang.Object

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

- - ### 构造器详细资料

    - #### SerialAPI

          public SerialAPI(java.io.File device,
                           int baudRate,
                           int flowControl)

  - ### 方法详细资料

    - #### getFilePath

          public java.lang.String getFilePath()

    - #### openDevice

          public int openDevice()

    - #### writeBuffer

          public int writeBuffer(byte[] writeBuffer,
                                 int offsetSize,
                                 int writeSize,
                                 int waitTime)

    - #### readBuffer

          public int readBuffer(byte[] readBuffer,
                                int offsetSize,
                                int readSize,
                                int waitTime)

    - #### isOpen

          public java.lang.Boolean isOpen()

    - #### closeDevice

          public int closeDevice()

    - #### clear

          public void clear()