Package demo

Class UncompressFile


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

      Constructors 
      Constructor Description
      UncompressFile()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Reads a file, uncompresses it, and sends the result to stdout.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UncompressFile

        public UncompressFile()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.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
        java.lang.Exception