org.jruby
Class RubyMatchData.JavaString

java.lang.Object
  extended byorg.jruby.RubyObject
      extended byorg.jruby.RubyMatchData
          extended byorg.jruby.RubyMatchData.JavaString
All Implemented Interfaces:
java.lang.Cloneable, IRubyObject
Enclosing class:
RubyMatchData

public static final class RubyMatchData.JavaString
extends RubyMatchData


Nested Class Summary
 
Nested classes inherited from class org.jruby.RubyMatchData
RubyMatchData.JavaString, RubyMatchData.RString
 
Nested classes inherited from class org.jruby.RubyObject
RubyObject.Finalizer
 
Field Summary
 
Fields inherited from class org.jruby.RubyMatchData
matcher
 
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
RubyMatchData.JavaString(Ruby runtime, java.lang.String original, Matcher matcher)
           
 
Method Summary
 IRubyObject captures()
           
 IRubyObject doClone()
           
 IRubyObject group(long n)
           
 int matchStartPosition()
           
 RubyString post_match()
          match_post_match
 RubyString pre_match()
          match_pre_match
 RubyString string()
          match_string
 RubyArray to_a()
          match_to_a
 IRubyObject to_s()
          match_to_s
 
Methods inherited from class org.jruby.RubyMatchData
aref, begin, begin, createMatchDataClass, end, end, find, getSize, inspect, invalidateRegs, matchEndPosition, offset, proceed, size, subseq
 
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, 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, 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, toString, trueFalseNil, trueFalseNil, type_deprecated, type, untaint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RubyMatchData.JavaString

public RubyMatchData.JavaString(Ruby runtime,
                                java.lang.String original,
                                Matcher matcher)
Method Detail

captures

public IRubyObject captures()
Specified by:
captures in class RubyMatchData

group

public IRubyObject group(long n)
Specified by:
group in class RubyMatchData

pre_match

public RubyString pre_match()
Description copied from class: RubyMatchData
match_pre_match

Specified by:
pre_match in class RubyMatchData

post_match

public RubyString post_match()
Description copied from class: RubyMatchData
match_post_match

Specified by:
post_match in class RubyMatchData

string

public RubyString string()
Description copied from class: RubyMatchData
match_string

Specified by:
string in class RubyMatchData

to_a

public RubyArray to_a()
Description copied from class: RubyMatchData
match_to_a

Specified by:
to_a in class RubyMatchData

to_s

public IRubyObject to_s()
Description copied from class: RubyMatchData
match_to_s

Specified by:
to_s in class RubyMatchData

doClone

public IRubyObject doClone()
Specified by:
doClone in class RubyMatchData

matchStartPosition

public int matchStartPosition()
Overrides:
matchStartPosition in class RubyMatchData


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