java.lang.Object
com.aoapps.io.filesystems.posix.ParallelUnpack

public final class ParallelUnpack extends Object

Unpacks the files that have been packed by ParallelPack.

For efficiency, direct TCP communication is supported with the -l option.

It assumes that the file system is not changing, results of use on a changing filesystem is not defined.

Author:
AO Industries, Inc.
See Also:
  • Method Details

    • main

      public static void main(String[] args)
      Unpacks multiple directories in parallel (but not concurrently).
    • parallelUnpack

      public static void parallelUnpack(String path, InputStream in, PrintStream verboseOutput, boolean dryRun, boolean force) throws IOException
      Unpacks from the provided output stream. The stream is flushed but not closed.
      Throws:
      IOException