org.jruby
Class RubyZlib.RubyGzipFile

java.lang.Object
  extended by org.jruby.RubyObject
      extended by org.jruby.RubyZlib.RubyGzipFile
All Implemented Interfaces:
java.lang.Cloneable, IRubyObject
Direct Known Subclasses:
RubyZlib.RubyGzipReader, RubyZlib.RubyGzipWriter
Enclosing class:
RubyZlib

public static class RubyZlib.RubyGzipFile
extends RubyObject


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.RubyObject
RubyObject.Finalizer
 
Field Summary
protected  boolean closed
           
protected  boolean finished
           
protected static ObjectAllocator GZIPFILE_ALLOCATOR
           
protected  IRubyObject realIo
           
 
Fields inherited from class org.jruby.RubyObject
instanceVariables, isTrue, metaClass, NEVER, OBJECT_ALLOCATOR
 
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject
NULL_ARRAY
 
Constructor Summary
RubyZlib.RubyGzipFile(Ruby runtime, RubyClass type)
           
 
Method Summary
 IRubyObject close()
           
 IRubyObject closed_p()
           
 IRubyObject comment()
           
 IRubyObject crc()
           
 IRubyObject finish()
           
protected  boolean isClosed()
           
 IRubyObject level()
           
 IRubyObject mtime()
           
static RubyZlib.RubyGzipFile newInstance(IRubyObject recv, Block block)
           
 IRubyObject orig_name()
           
 IRubyObject os_code()
           
 IRubyObject set_sync(IRubyObject ignored)
           
 IRubyObject sync()
           
 java.lang.Object to_io()
           
static IRubyObject wrap(IRubyObject recv, RubyZlib.RubyGzipFile io, IRubyObject proc, Block unusedBlock)
           
 
Methods inherited from class org.jruby.RubyObject
addFinalizer, anyToString, asString, asSymbol, attachToObjectSpace, callInit, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodMissing, callMethodMissing, callSuper, checkArrayType, checkFrozen, checkStringType, compilerCallMethod, compilerCallMethodWithIndex, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToString, convertToType, convertToType, convertToType, convertToTypeWithCheck, createObjectClass, dataGetStruct, dataWrapStruct, display, doClone, dup, eql, eqlInternal, equal, equalInternal, equals, evalSimple, evalUnder, evalWithBinding, extend, freeze, frozen, getInstanceVariable, getInstanceVariables, getInstanceVariablesSnapshot, getJavaClass, getMetaClass, getNativeTypeIndex, getRuntime, getSingletonClass, getSingletonClassClone, getType, hash, hashCode, id_deprecated, id, infectBy, inherited, initCopy, initialize_copy, initialize, inspect, instance_eval, instance_exec, instance_of, instance_variable_get, instance_variable_set, instance_variables, instanceVariableNames, isFalse, isFrozen, isImmediate, isKindOf, isNil, isSingleton, isTaint, isTrue, kind_of, makeMetaClass, match, method, methods, nil_p, obj_equal, private_methods, protected_methods, public_methods, puts, rbClone, remove_instance_variable, removeFinalizers, removeInstanceVariable, respond_to, respondsTo, safeGetInstanceVariables, safeHasInstanceVariables, send, setFrozen, setInstanceVariable, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint, singleton_methods, specificEval, taint, tainted, testFrozen, to_s, toString, trueFalseNil, trueFalseNil, type_deprecated, type, untaint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GZIPFILE_ALLOCATOR

protected static ObjectAllocator GZIPFILE_ALLOCATOR

closed

protected boolean closed

finished

protected boolean finished

realIo

protected IRubyObject realIo
Constructor Detail

RubyZlib.RubyGzipFile

public RubyZlib.RubyGzipFile(Ruby runtime,
                             RubyClass type)
Method Detail

wrap

public static IRubyObject wrap(IRubyObject recv,
                               RubyZlib.RubyGzipFile io,
                               IRubyObject proc,
                               Block unusedBlock)
                        throws java.io.IOException
Throws:
java.io.IOException

newInstance

public static RubyZlib.RubyGzipFile newInstance(IRubyObject recv,
                                                Block block)

os_code

public IRubyObject os_code()

closed_p

public IRubyObject closed_p()

isClosed

protected boolean isClosed()

orig_name

public IRubyObject orig_name()

to_io

public java.lang.Object to_io()

comment

public IRubyObject comment()

crc

public IRubyObject crc()

mtime

public IRubyObject mtime()

sync

public IRubyObject sync()

finish

public IRubyObject finish()
                   throws java.io.IOException
Throws:
java.io.IOException

close

public IRubyObject close()
                  throws java.io.IOException
Throws:
java.io.IOException

level

public IRubyObject level()

set_sync

public IRubyObject set_sync(IRubyObject ignored)


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