Top Description Inners Constructors Methods
org.jruby.javasupport.ext

public abstract Class JavaUtilRegex

extends Object
Class Inheritance
Imports
org.jruby.*, org.jruby.anno.JRubyClass, .JRubyMethod, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.RubyStringBuilder

Java::JavaLangReflect package extensions.
Author
kares

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JavaUtilRegexback to summary
public JavaUtilRegex()

Method Detail

defineback to summary
public static void define(ThreadContext context)
org.jruby.javasupport.ext back to summary

public Class JavaUtilRegex.Matcher

extends Object
Class Inheritance
Annotations
@JRubyClass
name:Java::JavaUtilRegex::Matcher

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static IRubyObject
aref(final ThreadContext context, final IRubyObject self, final IRubyObject idx)

public static IRubyObject
aref(final ThreadContext context, final IRubyObject self, final IRubyObject arg0, final IRubyObject arg1)

public static IRubyObject
begin(final ThreadContext context, final IRubyObject self, final IRubyObject idx)

public static RubyArray<T extends IRubyObject>
captures(final ThreadContext context, final IRubyObject self)

public static IRubyObject
end(final ThreadContext context, final IRubyObject self, final IRubyObject idx)

private static IRubyObject[]
groups(final ThreadContext context, final IRubyObject self, final int off)

public static IRubyObject
offset(final ThreadContext context, final IRubyObject self, final IRubyObject idx)

public static IRubyObject
post_match(final ThreadContext context, final IRubyObject self)

public static IRubyObject
pre_match(final ThreadContext context, final IRubyObject self)

public static IRubyObject
regexp(final ThreadContext context, final IRubyObject self)

public static RubyFixnum
size(final ThreadContext context, final IRubyObject self)

private static RubyString
str(final ThreadContext context, final IRubyObject self)

public static RubyString
string(final ThreadContext context, final IRubyObject self)

public static RubyArray<T extends IRubyObject>
to_a(final ThreadContext context, final IRubyObject self)

public static IRubyObject
values_at(final ThreadContext context, final IRubyObject self, final IRubyObject[] args)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Matcherback to summary
public Matcher()

Method Detail

arefback to summary
public static IRubyObject aref(final ThreadContext context, final IRubyObject self, final IRubyObject idx)
Annotations
@JRubyMethod
name:[]
arefback to summary
public static IRubyObject aref(final ThreadContext context, final IRubyObject self, final IRubyObject arg0, final IRubyObject arg1)
Annotations
@JRubyMethod
name:[]
beginback to summary
public static IRubyObject begin(final ThreadContext context, final IRubyObject self, final IRubyObject idx)
Annotations
@JRubyMethod
capturesback to summary
public static RubyArray<T extends IRubyObject> captures(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
endback to summary
public static IRubyObject end(final ThreadContext context, final IRubyObject self, final IRubyObject idx)
Annotations
@JRubyMethod
groupsback to summary
private static IRubyObject[] groups(final ThreadContext context, final IRubyObject self, final int off)
offsetback to summary
public static IRubyObject offset(final ThreadContext context, final IRubyObject self, final IRubyObject idx)
Annotations
@JRubyMethod
post_matchback to summary
public static IRubyObject post_match(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
pre_matchback to summary
public static IRubyObject pre_match(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
regexpback to summary
public static IRubyObject regexp(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
sizeback to summary
public static RubyFixnum size(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:length, size
strback to summary
private static RubyString str(final ThreadContext context, final IRubyObject self)
stringback to summary
public static RubyString string(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
to_aback to summary
public static RubyArray<T extends IRubyObject> to_a(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
values_atback to summary
public static IRubyObject values_at(final ThreadContext context, final IRubyObject self, final IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
org.jruby.javasupport.ext back to summary

public Class JavaUtilRegex.Pattern

extends Object
Class Inheritance
Annotations
@JRubyClass
name:Java::JavaUtilRegex::Pattern

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static IRubyObject
casefold_p(final ThreadContext context, final IRubyObject self)

public static IRubyObject
eqq(final ThreadContext context, final IRubyObject self, IRubyObject str)

public static IRubyObject
inspect(final ThreadContext context, final IRubyObject self)

public static IRubyObject
match(final ThreadContext context, final IRubyObject self, IRubyObject str)

private static Matcher
matcher(final IRubyObject self, final IRubyObject str)

public static IRubyObject
op_match(final ThreadContext context, final IRubyObject self, IRubyObject str)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Patternback to summary
public Pattern()

Method Detail

casefold_pback to summary
public static IRubyObject casefold_p(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:casefold?
eqqback to summary
public static IRubyObject eqq(final ThreadContext context, final IRubyObject self, IRubyObject str)
Annotations
@JRubyMethod
name:===
inspectback to summary
public static IRubyObject inspect(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:inspect
matchback to summary
public static IRubyObject match(final ThreadContext context, final IRubyObject self, IRubyObject str)
Annotations
@JRubyMethod
name:match
matcherback to summary
private static Matcher matcher(final IRubyObject self, final IRubyObject str)
op_matchback to summary
public static IRubyObject op_match(final ThreadContext context, final IRubyObject self, IRubyObject str)
Annotations
@JRubyMethod
name:=~