public class RubyZlib
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RubyZlib.BufError |
static class |
RubyZlib.DataError |
static class |
RubyZlib.Error |
static class |
RubyZlib.MemError |
static class |
RubyZlib.NeedDict |
static class |
RubyZlib.StreamEnd |
static class |
RubyZlib.StreamError |
static class |
RubyZlib.VersionError |
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.reflect.Field |
crc32InternalField |
static java.lang.String |
VERSION |
static java.lang.String |
ZLIB_VERSION |
| Constructor and Description |
|---|
RubyZlib() |
| Modifier and Type | Method and Description |
|---|---|
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 |
deflate(IRubyObject recv,
IRubyObject[] args) |
(package private) static int |
FIXNUMARG(IRubyObject obj,
int ifnil) |
private static java.lang.reflect.Field |
getCRC32InternalField() |
static IRubyObject |
inflate(ThreadContext context,
IRubyObject recv,
IRubyObject string) |
(package private) static RaiseException |
newBufError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
newCRCError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
newDataError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
newDictError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
newGzipFileError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
newGzipFileError(Ruby runtime,
java.lang.String klass,
java.lang.String message) |
(package private) static RaiseException |
newLengthError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
newNoFooter(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
newStreamError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
newZlibError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
newZlibError(Ruby runtime,
java.lang.String klass,
java.lang.String message) |
static IRubyObject |
zlib_version(IRubyObject recv) |
public static final java.lang.String ZLIB_VERSION
public static final java.lang.String VERSION
private static final java.lang.reflect.Field crc32InternalField
private static final java.lang.reflect.Field getCRC32InternalField()
public static RubyModule createZlibModule(Ruby runtime)
public static IRubyObject zlib_version(IRubyObject recv)
public static IRubyObject crc32(IRubyObject recv, IRubyObject[] args)
public static IRubyObject adler32(IRubyObject recv, IRubyObject[] args)
public static IRubyObject inflate(ThreadContext context, IRubyObject recv, IRubyObject string)
public static IRubyObject deflate(IRubyObject recv, IRubyObject[] args)
public static IRubyObject crc_table(IRubyObject recv)
public static IRubyObject crc32_combine(IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
public static IRubyObject adler32_combine(IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
static RaiseException newZlibError(Ruby runtime, java.lang.String message)
static RaiseException newBufError(Ruby runtime, java.lang.String message)
static RaiseException newDictError(Ruby runtime, java.lang.String message)
static RaiseException newStreamError(Ruby runtime, java.lang.String message)
static RaiseException newDataError(Ruby runtime, java.lang.String message)
static RaiseException newZlibError(Ruby runtime, java.lang.String klass, java.lang.String message)
static RaiseException newGzipFileError(Ruby runtime, java.lang.String message)
static RaiseException newCRCError(Ruby runtime, java.lang.String message)
static RaiseException newNoFooter(Ruby runtime, java.lang.String message)
static RaiseException newLengthError(Ruby runtime, java.lang.String message)
static RaiseException newGzipFileError(Ruby runtime, java.lang.String klass, java.lang.String message)
static int FIXNUMARG(IRubyObject obj, int ifnil)