Package demo

Class UncompressFile


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

      • 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:
        IOException - for any failure
        Exception