Package org.eclipse.mat.hprof
Class ChunkedGZIPRandomAccessFile.ChunkedGZIPOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.eclipse.mat.hprof.ChunkedGZIPRandomAccessFile.ChunkedGZIPOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
- ChunkedGZIPRandomAccessFile
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a chunked (multi-member) GZIP output stream.ChunkedGZIPOutputStream(OutputStream os, File originalFile) Create a chunked (multi-member) GZIP output stream.ChunkedGZIPOutputStream(OutputStream os, File originalFile, int chunkSize) Create a chunked (multi-member) GZIP output stream. -
Method Summary
Methods inherited from class java.io.FilterOutputStream
writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
ChunkedGZIPOutputStream
Create a chunked (multi-member) GZIP output stream.- Parameters:
os- The stream into which to put the compressed data.
-
ChunkedGZIPOutputStream
Create a chunked (multi-member) GZIP output stream.- Parameters:
os- The stream into which to put the compressed data.originalFile- The original file, for a name and time-stamp in the header, or null for no name and the current time.chunkSize- the chunk size, or 0 for no multiple members.
-
ChunkedGZIPOutputStream
Create a chunked (multi-member) GZIP output stream.- Parameters:
os- The stream into which to put the compressed data.originalFile- The original file, for a name and time-stamp in the header, or null for no name and the current time.
-
-
Method Details
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-