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

public static class ChunkedGZIPRandomAccessFile.ChunkedGZIPOutputStream extends FilterOutputStream
  • Constructor Details

    • ChunkedGZIPOutputStream

      public ChunkedGZIPOutputStream(OutputStream os)
      Create a chunked (multi-member) GZIP output stream.
      Parameters:
      os - The stream into which to put the compressed data.
    • ChunkedGZIPOutputStream

      public ChunkedGZIPOutputStream(OutputStream os, File originalFile, int chunkSize)
      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

      public ChunkedGZIPOutputStream(OutputStream os, File originalFile)
      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