Class UnTar


  • public class UnTar
    extends Object
    This class allow to create untar archives.
    Since:
    3.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • UnTar

        public UnTar​(Path inputArchive,
                     Path outputDirectoryPath)
              throws Aozan3Exception
        Constructor.
        Parameters:
        inputArchive - input tar file
        outputDirectoryPath - output directory for tar file content
        Throws:
        Aozan3Exception - if input archive or output directory path are not found or not readable/writable
    • Method Detail

      • getCompression

        public UnTar.Compression getCompression()
        Get tar compression.
        Returns:
        the tar compression
      • setCompression

        public void setCompression​(UnTar.Compression compression)
        Set the tar compression
        Parameters:
        compression - the tar compression