Class GZIPCompressionInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.pentaho.di.core.compress.CompressionInputStream
-
- org.pentaho.di.core.compress.gzip.GZIPCompressionInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class GZIPCompressionInputStream extends CompressionInputStream
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.core.compress.CompressionInputStream
delegate
-
-
Constructor Summary
Constructors Constructor Description GZIPCompressionInputStream(InputStream in, CompressionProvider provider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected static GZIPInputStream
getDelegate(InputStream in)
int
read()
-
Methods inherited from class org.pentaho.di.core.compress.CompressionInputStream
getCompressionProvider, nextEntry, read, read
-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
GZIPCompressionInputStream
public GZIPCompressionInputStream(InputStream in, CompressionProvider provider) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getDelegate
protected static GZIPInputStream getDelegate(InputStream in) throws IOException
- Throws:
IOException
-
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
-
-