@Override public int read(byte[] b) throws IOException { checkValid(); int result = zis.read(b); if (result == -1 ) { inboundPayload.recordZipEntryEOF(); } else { inboundPayload.recordZipEntryNonEOF(); } return result; }
@Override public InputStream getInputStream() { return new Inbound.ZipEntryInputStream(inboundPayload); } }
@Override public void close() throws IOException { invalidate(); } }
public InputStream getInputStream() { return new Inbound.ZipEntryInputStream(inboundPayload); } }
@Override public int read(byte[] b, int off, int len) throws IOException { checkValid(); int result = zis.read(b, off, len); if (result == -1) { inboundPayload.recordZipEntryEOF(); } else { inboundPayload.recordZipEntryNonEOF(); } return result; }
@Override public int read(byte[] b) throws IOException { checkValid(); int result = zis.read(b); if (result == -1 ) { inboundPayload.recordZipEntryEOF(); } else { inboundPayload.recordZipEntryNonEOF(); } return result; }
@Override public int read() throws IOException { checkValid(); int result = zis.read(); if (result == -1) { inboundPayload.recordZipEntryEOF(); } else { inboundPayload.recordZipEntryNonEOF(); } return result; }
@Override public int read(byte[] b) throws IOException { checkValid(); int result = zis.read(b); if (result == -1 ) { inboundPayload.recordZipEntryEOF(); } else { inboundPayload.recordZipEntryNonEOF(); } return result; }
@Override public int read() throws IOException { checkValid(); int result = zis.read(); if (result == -1) { inboundPayload.recordZipEntryEOF(); } else { inboundPayload.recordZipEntryNonEOF(); } return result; }
@Override public void close() throws IOException { invalidate(); } }
@Override public int read() throws IOException { checkValid(); int result = zis.read(); if (result == -1) { inboundPayload.recordZipEntryEOF(); } else { inboundPayload.recordZipEntryNonEOF(); } return result; }
@Override public InputStream getInputStream() { return new Inbound.ZipEntryInputStream(inboundPayload); } }
@Override public void close() throws IOException { invalidate(); } }
@Override public int read(byte[] b, int off, int len) throws IOException { checkValid(); int result = zis.read(b, off, len); if (result == -1) { inboundPayload.recordZipEntryEOF(); } else { inboundPayload.recordZipEntryNonEOF(); } return result; }
@Override public int read(byte[] b, int off, int len) throws IOException { checkValid(); int result = zis.read(b, off, len); if (result == -1) { inboundPayload.recordZipEntryEOF(); } else { inboundPayload.recordZipEntryNonEOF(); } return result; }