Package demo

Class UncompressFile

java.lang.Object
demo.UncompressFile

public class UncompressFile extends Object
Uncompresses a single tarred or zipped file, writing output to stdandard out
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Reads a file, uncompresses it, and sends the result to stdout. Also writes trivial statistics to stderr.
      Parameters:
      args - An array with one String element, the name of the file to read.
      Throws:
      Exception - for any failure