com.gisgraphy.helper
Class Untar
java.lang.Object
com.gisgraphy.helper.Untar
public class Untar
- extends java.lang.Object
Utility class to untar files, files can be zipped in multi format (extension
tar, tar.gzip,tar.gz, tar.bz2, tar.bzip2 are supported).
- Author:
- David Masclet
Constructor Summary |
Untar(java.lang.String tarFileName,
java.io.File dest)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Untar
public Untar(java.lang.String tarFileName,
java.io.File dest)
- Parameters:
tarFileName
- the path to the file we want to untardest
- the path where the file should be untar
untar
public void untar()
throws java.io.IOException
- process the untar operation
- Throws:
java.io.IOException
getCurrentFileNameIntoArchiveExtracted
public java.lang.String getCurrentFileNameIntoArchiveExtracted()
Copyright © 2010. All Rights Reserved.