org.jruby
Class RubyZlib

java.lang.Object
  extended by org.jruby.RubyZlib

public class RubyZlib
extends java.lang.Object


Nested Class Summary
static class RubyZlib.BufError
           
static class RubyZlib.DataError
           
static class RubyZlib.Deflate
           
static class RubyZlib.Error
           
static class RubyZlib.Inflate
           
static class RubyZlib.MemError
           
static class RubyZlib.NeedDict
           
static class RubyZlib.RubyGzipFile
           
static class RubyZlib.RubyGzipReader
           
static class RubyZlib.RubyGzipWriter
           
static class RubyZlib.StreamEnd
           
static class RubyZlib.StreamError
           
static class RubyZlib.VersionError
           
static class RubyZlib.ZStream
           
 
Field Summary
static int MAX_WBITS
           
static int MIN_WBITS
           
static byte OS_AMIGA
           
static byte OS_ATARI
           
static byte OS_CODE
           
static byte OS_CPM
           
static byte OS_MACOS
           
static byte OS_MSDOS
           
static byte OS_OS2
           
static byte OS_QDOS
           
static byte OS_RISCOS
           
static byte OS_TOPS20
           
static byte OS_UNIX
           
static byte OS_UNKNOWN
           
static byte OS_VMCMS
           
static byte OS_VMS
           
static byte OS_WIN32
           
static byte OS_ZSYSTEM
           
static java.lang.String VERSION
           
static byte Z_ASCII
           
static byte Z_BEST_COMPRESSION
           
static byte Z_BEST_SPEED
           
static byte Z_BINARY
           
static byte Z_DEFAULT_COMPRESSION
           
static byte Z_DEFAULT_STRATEGY
           
static byte Z_FILTERED
           
static byte Z_FINISH
           
static byte Z_FULL_FLUSH
           
static byte Z_HUFFMAN_ONLY
           
static byte Z_NO_COMPRESSION
           
static byte Z_NO_FLUSH
           
static byte Z_SYNC_FLUSH
           
static byte Z_UNKNOWN
           
static java.lang.String ZLIB_VERSION
           
 
Constructor Summary
RubyZlib()
           
 
Method Summary
static IRubyObject adler32(IRubyObject recv, IRubyObject[] args)
           
static IRubyObject crc_table(IRubyObject recv)
           
static IRubyObject crc32(IRubyObject recv, IRubyObject[] args)
           
static RubyModule createZlibModule(Ruby runtime)
          Create the Zlib module and add it to the Ruby runtime.
static IRubyObject zlib_version(IRubyObject recv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZLIB_VERSION

public static final java.lang.String ZLIB_VERSION
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values

MIN_WBITS

public static final int MIN_WBITS
See Also:
Constant Field Values

MAX_WBITS

public static final int MAX_WBITS
See Also:
Constant Field Values

Z_NO_FLUSH

public static final byte Z_NO_FLUSH
See Also:
Constant Field Values

Z_SYNC_FLUSH

public static final byte Z_SYNC_FLUSH
See Also:
Constant Field Values

Z_FULL_FLUSH

public static final byte Z_FULL_FLUSH
See Also:
Constant Field Values

Z_FINISH

public static final byte Z_FINISH
See Also:
Constant Field Values

Z_NO_COMPRESSION

public static final byte Z_NO_COMPRESSION
See Also:
Constant Field Values

Z_BEST_SPEED

public static final byte Z_BEST_SPEED
See Also:
Constant Field Values

Z_BEST_COMPRESSION

public static final byte Z_BEST_COMPRESSION
See Also:
Constant Field Values

Z_DEFAULT_COMPRESSION

public static final byte Z_DEFAULT_COMPRESSION
See Also:
Constant Field Values

OS_MSDOS

public static final byte OS_MSDOS
See Also:
Constant Field Values

OS_AMIGA

public static final byte OS_AMIGA
See Also:
Constant Field Values

OS_VMS

public static final byte OS_VMS
See Also:
Constant Field Values

OS_UNIX

public static final byte OS_UNIX
See Also:
Constant Field Values

OS_ATARI

public static final byte OS_ATARI
See Also:
Constant Field Values

OS_OS2

public static final byte OS_OS2
See Also:
Constant Field Values

OS_MACOS

public static final byte OS_MACOS
See Also:
Constant Field Values

OS_TOPS20

public static final byte OS_TOPS20
See Also:
Constant Field Values

OS_WIN32

public static final byte OS_WIN32
See Also:
Constant Field Values

OS_VMCMS

public static final byte OS_VMCMS
See Also:
Constant Field Values

OS_ZSYSTEM

public static final byte OS_ZSYSTEM
See Also:
Constant Field Values

OS_CPM

public static final byte OS_CPM
See Also:
Constant Field Values

OS_QDOS

public static final byte OS_QDOS
See Also:
Constant Field Values

OS_RISCOS

public static final byte OS_RISCOS
See Also:
Constant Field Values

OS_UNKNOWN

public static final byte OS_UNKNOWN
See Also:
Constant Field Values

OS_CODE

public static final byte OS_CODE
See Also:
Constant Field Values

Z_FILTERED

public static final byte Z_FILTERED
See Also:
Constant Field Values

Z_HUFFMAN_ONLY

public static final byte Z_HUFFMAN_ONLY
See Also:
Constant Field Values

Z_DEFAULT_STRATEGY

public static final byte Z_DEFAULT_STRATEGY
See Also:
Constant Field Values

Z_BINARY

public static final byte Z_BINARY
See Also:
Constant Field Values

Z_ASCII

public static final byte Z_ASCII
See Also:
Constant Field Values

Z_UNKNOWN

public static final byte Z_UNKNOWN
See Also:
Constant Field Values
Constructor Detail

RubyZlib

public RubyZlib()
Method Detail

createZlibModule

public static RubyModule createZlibModule(Ruby runtime)
Create the Zlib module and add it to the Ruby runtime.


zlib_version

public static IRubyObject zlib_version(IRubyObject recv)

crc32

public static IRubyObject crc32(IRubyObject recv,
                                IRubyObject[] args)

adler32

public static IRubyObject adler32(IRubyObject recv,
                                  IRubyObject[] args)

crc_table

public static IRubyObject crc_table(IRubyObject recv)


Copyright © 2002-2009 JRuby Team. All Rights Reserved.