Class TarArchiveHandler

    • Constructor Detail

      • TarArchiveHandler

        public TarArchiveHandler()
    • Method Detail

      • getExtensions

        public String[] getExtensions()
        Returns the list of extensions (without dot) that this handler can take care of.
        Returns:
        the array of extensions (no dot)
      • doExtract

        protected boolean doExtract​(String archiveFile,
                                    File outFile)
        Extracts the specified file and saves it locally.
        Specified by:
        doExtract in class AbstractArchiveHandler
        Parameters:
        archiveFile - the file in the archive to extract
        outFile - the local file to store the content in
        Returns:
        true if successfully extracted
        See Also:
        AbstractArchiveHandler.listFiles()