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.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.util.zip.DeflaterOutputStreamjava.io.IOExceptionpublic void write(byte[] bytes,
int offset,
int length)
throws java.io.IOException
write in class java.util.zip.DeflaterOutputStreamjava.io.IOExceptionpublic void finish()
throws java.io.IOException
finish in class java.util.zip.DeflaterOutputStreamjava.io.IOExceptionpublic void setModifiedTime(long newModifiedTime)
public boolean headerIsWritten()
public long crc()
public long pos()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.