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
ConstructorDescriptionCreate 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
write
Methods 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:
write
in classFilterOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classFilterOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterOutputStream
- Throws:
IOException
-