Check
Date: 2017-02-08

org.tukaani.xz.check

## Class Check

- java.lang.Object
- - org.tukaani.xz.check.Check

- Direct Known Subclasses:
    CRC32, CRC64, None, SHA256

      public abstract class Check
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Check()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract byte[]` | `finish()`
    `static Check` | `getInstance(int checkType)`
    `java.lang.String` | `getName()`
    `int` | `getSize()`
    `void` | `update(byte[] buf)`
    `abstract void` | `update(byte[] buf, int off, int len)`

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

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

- - ### Constructor Detail

    - #### Check

          public Check()

  - ### Method Detail

    - #### update

          public abstract void update(byte[] buf,
                    int off,
                    int len)

    - #### finish

          public abstract byte[] finish()

    - #### update

          public void update(byte[] buf)

    - #### getSize

          public int getSize()

    - #### getName

          public java.lang.String getName()

    - #### getInstance

          public static Check getInstance(int checkType)
                                   throws UnsupportedOptionsException

      Throws:
        `UnsupportedOptionsException`