T - The type produced by process(String, InputStream, long, long, ProducerWhichThrows)public interface ContentsProcessor<T>
| Modifier and Type | Method and Description |
|---|---|
T |
process(String path,
InputStream inputStream,
long size,
long crc32,
ProducerWhichThrows<? extends InputStream,? extends IOException> opener)
Reads from the input stream (typically until end-of-input), but does not close it.
|
@Nullable T process(String path, InputStream inputStream, long size, long crc32, ProducerWhichThrows<? extends InputStream,? extends IOException> opener) throws IOException
path - E.g. "c:/dir/zipfile!dir/zipfile!dir/file"size - -1 if unknowncrc32 - -1 if unknownopener - Re-produces the inputStreamIOException - Message should NOT include the pathCopyright © 2018 Arno Unkrig. All rights reserved.