org.jruby
Class RubyZlib

java.lang.Object
  extended byorg.jruby.RubyZlib

public class RubyZlib
extends java.lang.Object


Nested Class Summary
static class RubyZlib.Deflate
           
static class RubyZlib.Inflate
           
static class RubyZlib.RubyGzipFile
           
static class RubyZlib.RubyGzipReader
           
static class RubyZlib.RubyGzipWriter
           
static class RubyZlib.ZStream
           
 
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 version(IRubyObject recv)
           
static IRubyObject zlib_version(IRubyObject recv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

version

public static IRubyObject version(IRubyObject recv)

crc32

public static IRubyObject crc32(IRubyObject recv,
                                IRubyObject[] args)
                         throws java.lang.Exception
Throws:
java.lang.Exception

adler32

public static IRubyObject adler32(IRubyObject recv,
                                  IRubyObject[] args)
                           throws java.lang.Exception
Throws:
java.lang.Exception

crc_table

public static IRubyObject crc_table(IRubyObject recv)


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