com.gisgraphy.helper
Class Untar
java.lang.Object
com.gisgraphy.helper.Untar
public class Untar
- extends 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Untar
public Untar(String tarFileName,
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 IOException
- process the untar operation
- Throws:
IOException
getCurrentFileNameIntoArchiveExtracted
public String getCurrentFileNameIntoArchiveExtracted()
Copyright © 2012. All Rights Reserved.