Package org.pentaho.di.core.compress.zip
Class ZIPCompressionInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.pentaho.di.core.compress.CompressionInputStream
-
- org.pentaho.di.core.compress.zip.ZIPCompressionInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ZIPCompressionInputStream extends CompressionInputStream
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.core.compress.CompressionInputStream
delegate
-
-
Constructor Summary
Constructors Constructor Description ZIPCompressionInputStream(InputStream in, CompressionProvider provider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected static ZipInputStream
getDelegate(InputStream in)
Object
nextEntry()
int
read()
-
Methods inherited from class org.pentaho.di.core.compress.CompressionInputStream
getCompressionProvider, read, read
-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
ZIPCompressionInputStream
public ZIPCompressionInputStream(InputStream in, CompressionProvider provider)
-
-
Method Detail
-
getDelegate
protected static ZipInputStream getDelegate(InputStream in)
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classCompressionInputStream
- Throws:
IOException
-
read
public int read() throws IOException
- Overrides:
read
in classCompressionInputStream
- Throws:
IOException
-
nextEntry
public Object nextEntry() throws IOException
- Overrides:
nextEntry
in classCompressionInputStream
- Throws:
IOException
-
-