Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`Untar(String tarFileName, File dest)`

Method Summary
`String` | `getCurrentFileNameIntoArchiveExtracted()`
`void` | `untar()` process the untar operation

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Untar

    public Untar(String tarFileName,
                 File dest)

Parameters:
  `tarFileName` - the path to the file we want to untar
  `dest` - the path where the file should be untar

Method Detail

### untar

    public void untar()
               throws IOException

  process the untar operation

  Throws:
    `IOException`

### getCurrentFileNameIntoArchiveExtracted

    public String getCurrentFileNameIntoArchiveExtracted()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.