Interface ZipEntryProcessor


public interface ZipEntryProcessor
Interface for processing ZipEntry objects from a ZipArchive
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the processor accepts the supplied ZipEntry for processing.
    void
    Process the ZipEntry and it's InputStream.
  • Method Details

    • accepts

      boolean accepts(ZipEntry entry)
      Returns true if the processor accepts the supplied ZipEntry for processing.
      Parameters:
      entry - The ZipEntry to evaluate.
      Returns:
      true if the processor accepts the entry, otherwise false.
    • process

      void process(ZipEntry entry, InputStream is) throws IOException
      Process the ZipEntry and it's InputStream.
      Parameters:
      entry - The ZipEntry to process.
      is - The InputStream for the ZipEntry entry.
      Throws:
      IOException - when an IO error occurs reading the InputStream.