core/src/main/java/com/opentext/ia/sdk/support/io/Unzip.java
public <T> T andProcessEntry(String entry, Function<InputStream, T> processor) {
    try (ZipFile zipFile = new ZipFile(zip)) {
      return processEntry(zipFile, entry, processor);
    } catch (IOException e) {
      throw new RuntimeIoException(e);
    }
  }
public <T> T andProcessEntry(String entry, Function<InputStream, T> processor) {
    try (ZipFile zipFile = new ZipFile(zip)) {
      return processEntry(zipFile, entry, processor);
    } catch (IOException e) {
      throw new RuntimeIoException(e);
    }
  }
public < T > T andProcessEntry ( String entry , Function < InputStream , T > processor ) { try ( ZipFile zipFile = new ZipFile ( zip ) ) { return processEntry ( zipFile , entry , processor ) ; } catch ( IOException e ) { throw new RuntimeIoException ( e ) ; } }
Process a named entry in the ZIP file.
@param <T> The type of result returned by the processor
@param entry The name of the entry to process
@param processor The processor that handles the entry's content
@return The result of processing the entry
Process a named entry in the ZIP file .