org.jruby
Class RubyZlib.RubyGzipWriter

java.lang.Object
  extended byorg.jruby.RubyObject
      extended byorg.jruby.RubyZlib.RubyGzipFile
          extended byorg.jruby.RubyZlib.RubyGzipWriter
All Implemented Interfaces:
java.lang.Cloneable, IRubyObject
Enclosing class:
RubyZlib

public static class RubyZlib.RubyGzipWriter
extends RubyZlib.RubyGzipFile


Nested Class Summary
 
Nested classes inherited from class org.jruby.RubyObject
RubyObject.Finalizer
 
Field Summary
protected static ObjectAllocator GZIPWRITER_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.RubyGzipWriter(Ruby runtime, RubyClass type)
           
 
Method Summary
 IRubyObject append(IRubyObject p1)
           
 IRubyObject close()
           
 IRubyObject finish()
           
 IRubyObject flush(IRubyObject[] args)
           
 IRubyObject initialize2(IRubyObject[] args, Block unusedBlock)
           
static IRubyObject open(IRubyObject recv, IRubyObject[] args, Block block)
           
 IRubyObject pos()
           
 IRubyObject print(IRubyObject[] args)
           
 IRubyObject printf(IRubyObject[] args)
           
 IRubyObject putc(RubyNumeric p1)
           
 IRubyObject puts(IRubyObject[] args)
           
 IRubyObject set_comment(RubyString ignored)
           
 IRubyObject set_mtime(IRubyObject ignored)
           
 IRubyObject set_orig_name(RubyString ignored)
           
 IRubyObject tell()
           
 IRubyObject write(IRubyObject p1)
           
 
Methods inherited from class org.jruby.RubyZlib.RubyGzipFile
closed_p, comment, crc, 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, callMethodMissingIfNecessary, 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

GZIPWRITER_ALLOCATOR

protected static ObjectAllocator GZIPWRITER_ALLOCATOR
Constructor Detail

RubyZlib.RubyGzipWriter

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

open

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

initialize2

public IRubyObject initialize2(IRubyObject[] args,
                               Block unusedBlock)
                        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

append

public IRubyObject append(IRubyObject p1)
                   throws java.io.IOException
Throws:
java.io.IOException

printf

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

print

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

pos

public IRubyObject pos()

set_orig_name

public IRubyObject set_orig_name(RubyString ignored)

set_comment

public IRubyObject set_comment(RubyString ignored)

putc

public IRubyObject putc(RubyNumeric p1)
                 throws java.io.IOException
Throws:
java.io.IOException

puts

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

finish

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

flush

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

set_mtime

public IRubyObject set_mtime(IRubyObject ignored)

tell

public IRubyObject tell()

write

public IRubyObject write(IRubyObject p1)
                  throws java.io.IOException
Throws:
java.io.IOException


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