Package demo
Class UncompressFile
- java.lang.Object
-
- demo.UncompressFile
-
public class UncompressFile extends java.lang.ObjectUncompresses 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 voidmain(java.lang.String[] args)Reads a file, uncompresses it, and sends the result to stdout.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionReads 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 failurejava.lang.Exception
-
-