de.esprit.appsuite.io.archive.javatar

## Class FastTarStream

- java.lang.Object
- - de.esprit.appsuite.io.archive.javatar.FastTarStream

-     public class FastTarStream
      extends java.lang.Object

  Special class designed to parse a Tar archive VERY FAST. This class is not a general Tar archive solution because it does not accomodate TarBuffer, or blocking. It does not allow you to read the entries either. This would not be difficult to add in a subclass. The real purpose of this class is that there are folks out there who wish to parse an ENORMOUS tar archive, and maybe only want to know the filenames, or they wish to locate the offset of a particular entry so that can process that entry with special code.
  Author:
    Timothy Gerard Endres,

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FastTarStream(java.io.InputStream in)`
    `FastTarStream(java.io.InputStream in, int recordSize)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TarEntry` | `getNextEntry()`
    `static void` | `main(java.lang.String[] args)`
    `void` | `setDebug(boolean debug)`

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

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

- - ### Constructor Detail

    - #### FastTarStream

          public FastTarStream(java.io.InputStream in)

    - #### FastTarStream

          public FastTarStream(java.io.InputStream in,
                       int recordSize)

  - ### Method Detail

    - #### setDebug

          public void setDebug(boolean debug)

    - #### getNextEntry

          public TarEntry getNextEntry()
                                throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### main

          public static void main(java.lang.String[] args)

Copyright © 2014 EsprIT-Systems. All Rights Reserved.