IndexEncoder
Date: 2017-02-08

org.tukaani.xz.index

## Class IndexEncoder

- java.lang.Object
- - org.tukaani.xz.index.IndexEncoder

-     public class IndexEncoder
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IndexEncoder()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(long unpaddedSize, long uncompressedSize)`
    `void` | `encode(java.io.OutputStream out)`
    `long` | `getIndexSize()`
    `long` | `getStreamSize()`

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

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

- - ### Constructor Detail

    - #### IndexEncoder

          public IndexEncoder()

  - ### Method Detail

    - #### add

          public void add(long unpaddedSize,
                 long uncompressedSize)
                   throws XZIOException

      Throws:
        `XZIOException`

    - #### encode

          public void encode(java.io.OutputStream out)
                      throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### getIndexSize

          public long getIndexSize()

    - #### getStreamSize

          public long getStreamSize()