Interface ArchiveHandler

    • Method Detail

      • getExtensions

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

        void setArchive​(PlaceholderFile value)
        Sets the archive to get the files from.
        Parameters:
        value - the archive
      • getArchive

        PlaceholderFile getArchive()
        Returns the current archive.
        Returns:
        the archive
      • archiveTipText

        String archiveTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • extract

        boolean extract​(String archiveFile,
                        File outFile)
        Extracts the specified file and saves it locally.
        Parameters:
        archiveFile - the file in the archive to extract
        outFile - the local file to store the content in
        Returns:
        true if successfully extracted