Interface ArchiveExtractor

    • Method Detail

      • isSupported

        boolean isSupported​(@NotNull
                            java.io.File archive)
        Detect whether archive can be extract by this extractor
        Parameters:
        archive - path to archive
        Returns:
        whether archive can be extract by this extractor
      • extractFiles

        void extractFiles​(@NotNull
                          java.io.File archive,
                          @NotNull
                          ArchiveFileSelector selector)
                   throws java.io.IOException
        Extracts files from given archive filtered by file selector
        Parameters:
        archive - archive to be processed
        selector - selector for files within the archive
        Throws:
        java.io.IOException - Error occurred during extraction