Package org.opencastproject.ingest.impl
Class ZipEntryInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.opencastproject.ingest.impl.ZipEntryInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
ConstructorsConstructorDescriptionZipEntryInputStream(InputStream in, long length) Creates a wrapper around the input streaminand reads the given number of bytes from it. -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ZipEntryInputStream
Creates a wrapper around the input streaminand reads the given number of bytes from it.- Parameters:
in- the input streamlength- the number of bytes to read
-
-
Method Details
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-