Class AbstractUnArchiveWorker<T extends AbstractUnArchiveNode>

    • Constructor Detail

      • AbstractUnArchiveWorker

        public AbstractUnArchiveWorker()
    • Method Detail

      • isAcceptedByFilters

        protected boolean isAcceptedByFilters​(String dir,
                                              String name,
                                              long size)
        This method returns true when a given file name/directory combination shall be extracted from an archive file format otherwise false. ArchiveEntryFilters decide if a file shall be excluded from the extraction process or not. If one Filter doesn't accept a given filename the file will be filtered out.
        Parameters:
        dir - The archive entry's directory name.
        name - The archive entry's file name.
        size - The size of the given archive entry.
        Returns:
        if the file is accepted and therefore extracted from the archive.