protected static class ReusableStreamGzipCodec.ReusableGzipOutputStream
extends org.apache.hadoop.io.compress.CompressorStream
| 构造器和说明 |
|---|
ReusableStreamGzipCodec.ReusableGzipOutputStream(OutputStream out) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
finish() |
void |
flush() |
void |
resetState() |
void |
write(byte[] data,
int offset,
int length) |
void |
write(int b) |
writepublic ReusableStreamGzipCodec.ReusableGzipOutputStream(OutputStream out) throws IOException
IOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 org.apache.hadoop.io.compress.CompressorStreamIOExceptionpublic void flush()
throws IOException
flush 在接口中 Flushableflush 在类中 org.apache.hadoop.io.compress.CompressionOutputStreamIOExceptionpublic void write(int b)
throws IOException
write 在类中 org.apache.hadoop.io.compress.CompressorStreamIOExceptionpublic void write(byte[] data,
int offset,
int length)
throws IOException
write 在类中 org.apache.hadoop.io.compress.CompressorStreamIOExceptionpublic void finish()
throws IOException
finish 在类中 org.apache.hadoop.io.compress.CompressorStreamIOExceptionpublic void resetState()
throws IOException
resetState 在类中 org.apache.hadoop.io.compress.CompressorStreamIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.