org.jruby.ext.zlib
Class RubyZlib

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

public class RubyZlib
extends java.lang.Object


Nested Class Summary
static class RubyZlib.BufError
           
static class RubyZlib.DataError
           
static class RubyZlib.Error
           
static class RubyZlib.JZlibDeflate
           
static class RubyZlib.JZlibInflate
           
static class RubyZlib.JZlibRubyGzipReader
           
static class RubyZlib.JZlibRubyGzipWriter
           
static class RubyZlib.MemError
           
static class RubyZlib.NeedDict
           
static class RubyZlib.RubyGzipFile
           
static class RubyZlib.StreamEnd
           
static class RubyZlib.StreamError
           
static class RubyZlib.VersionError
           
static class RubyZlib.ZStream
           
 
Field Summary
static java.lang.String VERSION
           
static java.lang.String ZLIB_VERSION
           
 
Constructor Summary
RubyZlib()
           
 
Method Summary
static IRubyObject adler32_combine(IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
           
static IRubyObject adler32(IRubyObject recv, IRubyObject[] args)
           
static IRubyObject crc_table(IRubyObject recv)
           
static IRubyObject crc32_combine(IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
           
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
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)

crc32_combine

public static IRubyObject crc32_combine(IRubyObject recv,
                                        IRubyObject arg0,
                                        IRubyObject arg1,
                                        IRubyObject arg2)

adler32_combine

public static IRubyObject adler32_combine(IRubyObject recv,
                                          IRubyObject arg0,
                                          IRubyObject arg1,
                                          IRubyObject arg2)


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