org.jruby
Class RubyZlib.RubyGzipReader

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

public static class RubyZlib.RubyGzipReader
extends RubyZlib.RubyGzipFile


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.RubyObject
RubyObject.Finalizer
 
Field Summary
protected static ObjectAllocator GZIPREADER_ALLOCATOR
           
 
Fields inherited from class org.jruby.RubyZlib.RubyGzipFile
closed, finished, GZIPFILE_ALLOCATOR, 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.RubyGzipReader(Ruby runtime, RubyClass type)
           
 
Method Summary
 IRubyObject close()
           
 IRubyObject each_byte(Block block)
           
 IRubyObject each(IRubyObject[] args, Block block)
           
 IRubyObject eof_p()
           
 IRubyObject eof()
           
 IRubyObject getc()
           
 IRubyObject gets(IRubyObject[] args)
           
 IRubyObject initialize(IRubyObject io, Block unusedBlock)
           
 IRubyObject internalGets(IRubyObject[] args)
           
 IRubyObject lineno()
           
static IRubyObject open(IRubyObject recv, RubyString filename, Block block)
           
 IRubyObject pos()
           
 IRubyObject read(IRubyObject[] args)
           
 IRubyObject readchar()
           
 IRubyObject readline()
           
 IRubyObject readlines(IRubyObject[] args)
           
 IRubyObject rewind()
           
 IRubyObject set_lineno(RubyNumeric lineArg)
           
 IRubyObject tell()
           
 IRubyObject ungetc(RubyNumeric arg)
           
 IRubyObject unused()
           
 
Methods inherited from class org.jruby.RubyZlib.RubyGzipFile
closed_p, comment, crc, finish, isClosed, level, mtime, newInstance, orig_name, os_code, set_sync, sync, to_io, wrap
 
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

GZIPREADER_ALLOCATOR

protected static ObjectAllocator GZIPREADER_ALLOCATOR
Constructor Detail

RubyZlib.RubyGzipReader

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

open

public static IRubyObject open(IRubyObject recv,
                               RubyString filename,
                               Block block)
                        throws java.io.IOException
Throws:
java.io.IOException

initialize

public IRubyObject initialize(IRubyObject io,
                              Block unusedBlock)

rewind

public IRubyObject rewind()

lineno

public IRubyObject lineno()

readline

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

internalGets

public IRubyObject internalGets(IRubyObject[] args)
                         throws java.io.IOException
Throws:
java.io.IOException

gets

public IRubyObject gets(IRubyObject[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

read

public IRubyObject read(IRubyObject[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

set_lineno

public IRubyObject set_lineno(RubyNumeric lineArg)

pos

public IRubyObject pos()

readchar

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

getc

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

close

public IRubyObject close()
                  throws java.io.IOException
Overrides:
close in class RubyZlib.RubyGzipFile
Throws:
java.io.IOException

eof

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

eof_p

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

unused

public IRubyObject unused()

tell

public IRubyObject tell()

each

public IRubyObject each(IRubyObject[] args,
                        Block block)
                 throws java.io.IOException
Throws:
java.io.IOException

ungetc

public IRubyObject ungetc(RubyNumeric arg)

readlines

public IRubyObject readlines(IRubyObject[] args)
                      throws java.io.IOException
Throws:
java.io.IOException

each_byte

public IRubyObject each_byte(Block block)
                      throws java.io.IOException
Throws:
java.io.IOException


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