Class UnTar
java.lang.Object
fr.ens.biologie.genomique.aozan.aozan3.util.UnTar
This class allow to create untar archives.
- Since:
- 3.0
- Author:
- Laurent Jourdren
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Execute untar.Get tar compression.voidsetCompression(UnTar.Compression compression) Set the tar compression
-
Constructor Details
-
UnTar
Constructor.- Parameters:
inputArchive- input tar fileoutputDirectoryPath- output directory for tar file content- Throws:
Aozan3Exception- if input archive or output directory path are not found or not readable/writable
-
-
Method Details
-
getCompression
Get tar compression.- Returns:
- the tar compression
-
setCompression
Set the tar compression- Parameters:
compression- the tar compression
-
execute
Execute untar.- Throws:
Aozan3Exception- if an error occurs while untarring data
-