org.jruby.util
Class ZlibDeflate
java.lang.Object
org.jruby.util.ZlibDeflate
public class ZlibDeflate
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE_SIZE
public static final int BASE_SIZE
- See Also:
- Constant Field Values
DEF_MEM_LEVEL
public static final int DEF_MEM_LEVEL
- See Also:
- Constant Field Values
MAX_MEM_LEVEL
public static final int MAX_MEM_LEVEL
- See Also:
- Constant Field Values
MAX_WBITS
public static final int MAX_WBITS
- See Also:
- Constant Field Values
NO_FLUSH
public static final int NO_FLUSH
- See Also:
- Constant Field Values
SYNC_FLUSH
public static final int SYNC_FLUSH
- See Also:
- Constant Field Values
FULL_FLUSH
public static final int FULL_FLUSH
- See Also:
- Constant Field Values
FINISH
public static final int FINISH
- See Also:
- Constant Field Values
ZlibDeflate
public ZlibDeflate(IRubyObject caller,
int level,
int win_bits,
int memlevel,
int strategy)
s_deflate
public static IRubyObject s_deflate(IRubyObject caller,
org.jruby.util.ByteList str,
int level)
throws java.util.zip.DataFormatException,
java.io.IOException
- Throws:
java.util.zip.DataFormatException
java.io.IOException
getDeflater
public java.util.zip.Deflater getDeflater()
append
public void append(IRubyObject obj)
throws java.io.IOException,
java.io.UnsupportedEncodingException
- Throws:
java.io.IOException
java.io.UnsupportedEncodingException
append
public void append(org.jruby.util.ByteList obj)
throws java.io.IOException
- Throws:
java.io.IOException
params
public void params(int level,
int strategy)
set_dictionary
public IRubyObject set_dictionary(IRubyObject str)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
flush
public IRubyObject flush(int flush)
throws java.io.IOException
- Throws:
java.io.IOException
deflate
public IRubyObject deflate(org.jruby.util.ByteList str,
int flush)
throws java.io.IOException
- Throws:
java.io.IOException
finish
public IRubyObject finish()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
Copyright © 2002-2007 JRuby Team. All Rights Reserved.