public class RubyZlib.RubyGzipWriter.HeaderModifyableGZIPOutputStream
extends java.util.zip.DeflaterOutputStream
Constructor and Description |
---|
RubyZlib.RubyGzipWriter.HeaderModifyableGZIPOutputStream(IRubyObject io) |
Modifier and Type | Method and Description |
---|---|
void |
close()
We call internal IO#close directly, not via IOOutputStream#close.
|
long |
crc() |
void |
finish() |
boolean |
headerIsWritten() |
long |
pos() |
void |
setModifiedTime(long newModifiedTime) |
void |
write(byte[] bytes,
int offset,
int length) |
public RubyZlib.RubyGzipWriter.HeaderModifyableGZIPOutputStream(IRubyObject io) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.util.zip.DeflaterOutputStream
java.io.IOException
public void write(byte[] bytes, int offset, int length) throws java.io.IOException
write
in class java.util.zip.DeflaterOutputStream
java.io.IOException
public void finish() throws java.io.IOException
finish
in class java.util.zip.DeflaterOutputStream
java.io.IOException
public void setModifiedTime(long newModifiedTime)
public boolean headerIsWritten()
public long crc()
public long pos()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.