All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
RubyString |
append(IRubyObject other)
rb_str_append
|
RubyString |
append(RubyString otherStr) |
RubyString |
append19(IRubyObject other) |
IRubyObject |
ascii_only_p(ThreadContext context) |
java.lang.String |
asJavaString()
rb_to_id
|
void |
associateEncoding(org.jcodings.Encoding enc) |
RubyString |
asString()
rb_obj_as_string
First converts this object into a String using the "to_s"
method, infects it with the current taint and returns it.
|
IRubyObject |
b(ThreadContext context) |
static java.lang.String |
byteListToString(ByteList bytes) |
IRubyObject |
bytes(ThreadContext context,
Block block) |
RubyFixnum |
bytesize() |
IRubyObject |
byteslice(ThreadContext context,
IRubyObject arg) |
IRubyObject |
byteslice(ThreadContext context,
IRubyObject arg1,
IRubyObject arg2) |
static java.lang.String |
bytesToString(byte[] bytes) |
static java.lang.String |
bytesToString(byte[] bytes,
int beg,
int len) |
IRubyObject |
capitalize_bang(ThreadContext context) |
IRubyObject |
capitalize_bang(ThreadContext context,
IRubyObject arg) |
IRubyObject |
capitalize_bang(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
capitalize_bang19(ThreadContext context)
Deprecated.
|
RubyString |
capitalize(ThreadContext context) |
RubyString |
capitalize(ThreadContext context,
IRubyObject arg) |
RubyString |
capitalize(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
capitalize19(ThreadContext context)
Deprecated.
|
IRubyObject |
casecmp_p(ThreadContext context,
IRubyObject other) |
IRubyObject |
casecmp(ThreadContext context,
IRubyObject other) |
IRubyObject |
casecmp19(ThreadContext context,
IRubyObject other)
Deprecated.
|
RubyString |
cat(byte ch) |
RubyString |
cat(byte[] str) |
RubyString |
cat(byte[] str,
int beg,
int len) |
int |
cat(byte[] bytes,
int p,
int len,
org.jcodings.Encoding enc) |
RubyString |
cat(ByteList str) |
RubyString |
cat(int ch) |
RubyString |
cat(int code,
org.jcodings.Encoding enc) |
RubyString |
cat(RubyString str) |
int |
cat19(ByteList other,
int codeRange) |
RubyString |
cat19(RubyString str2) |
RubyString |
catAscii(byte[] bytes,
int ptr,
int ptrLen) |
RubyString |
catString(java.lang.String str) |
IRubyObject |
center(IRubyObject arg0) |
IRubyObject |
center(IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
center19(IRubyObject arg0)
Deprecated.
|
IRubyObject |
center19(IRubyObject arg0,
IRubyObject arg1)
Deprecated.
|
char |
charAt(int offset) |
IRubyObject |
chars(ThreadContext context,
Block block) |
IRubyObject |
chars19(ThreadContext context,
Block block)
Deprecated.
|
org.jcodings.Encoding |
checkEncoding(CodeRangeable other) |
org.jcodings.Encoding |
checkEncoding(RubyString other) |
IRubyObject |
checkStringType()
rb_check_string_type
Tries to return a coerced string representation of this object,
using "to_str".
|
IRubyObject |
chomp_bang(ThreadContext context)
rb_str_chomp_bang
In the common case, removes CR and LF characters in various ways depending on the value of
the optional args[0].
|
IRubyObject |
chomp_bang(ThreadContext context,
IRubyObject arg0) |
IRubyObject |
chomp_bang19(ThreadContext context) |
IRubyObject |
chomp_bang19(ThreadContext context,
IRubyObject arg0) |
RubyString |
chomp(ThreadContext context) |
RubyString |
chomp(ThreadContext context,
IRubyObject arg0) |
RubyString |
chomp19(ThreadContext context) |
RubyString |
chomp19(ThreadContext context,
IRubyObject arg0) |
IRubyObject |
chop_bang(ThreadContext context) |
IRubyObject |
chop_bang19(ThreadContext context)
Deprecated.
|
IRubyObject |
chop(ThreadContext context) |
IRubyObject |
chop19(ThreadContext context)
Deprecated.
|
IRubyObject |
chr(ThreadContext context) |
RubyString |
clear() |
void |
clearCodeRange() |
IRubyObject |
codepoints(ThreadContext context,
Block block) |
int |
compareTo(IRubyObject other)
Compares this Ruby object with another.
|
RubyString |
concat(IRubyObject other) |
RubyString |
concat(ThreadContext context,
IRubyObject obj)
rb_str_concat
|
RubyString |
concat(ThreadContext context,
IRubyObject[] objs)
rb_str_concat_multi
|
RubyString |
concat19(ThreadContext context,
IRubyObject other)
Deprecated.
|
RubyString |
concatSingle(ThreadContext context,
IRubyObject other)
rb_str_concat
|
RubyString |
convertToString()
Tries to convert this object to a Ruby String using the "to_str" method.
|
IRubyObject |
count(ThreadContext context) |
IRubyObject |
count(ThreadContext context,
IRubyObject arg) |
IRubyObject |
count(ThreadContext context,
IRubyObject[] args) |
IRubyObject |
count19(ThreadContext context)
Deprecated.
|
IRubyObject |
count19(ThreadContext context,
IRubyObject arg)
Deprecated.
|
IRubyObject |
count19(ThreadContext context,
IRubyObject[] args)
Deprecated.
|
static RubyClass |
createStringClass(Ruby runtime) |
RubyString |
crypt(ThreadContext context,
IRubyObject other)
rb_str_crypt
|
java.lang.String |
decodeString()
Convert this Ruby string to a Java String.
|
IRubyObject |
delete_bang(ThreadContext context) |
IRubyObject |
delete_bang(ThreadContext context,
IRubyObject arg) |
IRubyObject |
delete_bang(ThreadContext context,
IRubyObject[] args) |
IRubyObject |
delete_bang19(ThreadContext context)
Deprecated.
|
IRubyObject |
delete_bang19(ThreadContext context,
IRubyObject arg)
Deprecated.
|
IRubyObject |
delete_bang19(ThreadContext context,
IRubyObject[] args)
Deprecated.
|
IRubyObject |
delete_prefix_bang(ThreadContext context,
IRubyObject prefix) |
IRubyObject |
delete_prefix(ThreadContext context,
IRubyObject prefix) |
IRubyObject |
delete_suffix_bang(ThreadContext context,
IRubyObject suffix) |
IRubyObject |
delete_suffix(ThreadContext context,
IRubyObject suffix) |
IRubyObject |
delete(ThreadContext context)
rb_str_delete / rb_str_delete_bang
|
IRubyObject |
delete(ThreadContext context,
IRubyObject arg) |
IRubyObject |
delete(ThreadContext context,
IRubyObject[] args) |
IRubyObject |
delete19(ThreadContext context)
Deprecated.
|
IRubyObject |
delete19(ThreadContext context,
IRubyObject arg)
Deprecated.
|
IRubyObject |
delete19(ThreadContext context,
IRubyObject[] args)
Deprecated.
|
IRubyObject |
doClone() |
IRubyObject |
downcase_bang(ThreadContext context) |
IRubyObject |
downcase_bang(ThreadContext context,
IRubyObject arg) |
IRubyObject |
downcase_bang(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
downcase_bang19(ThreadContext context)
Deprecated.
|
RubyString |
downcase(ThreadContext context) |
RubyString |
downcase(ThreadContext context,
IRubyObject arg) |
RubyString |
downcase(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
RubyString |
downcase19(ThreadContext context)
Deprecated.
|
IRubyObject |
dump()
rb_str_dump
|
IRubyObject |
dump19()
Deprecated.
|
IRubyObject |
dup()
Overridden dup for fast-path logic.
|
IRubyObject |
dupFrozen() |
IRubyObject |
each_byte(ThreadContext context,
Block block)
rb_str_each_byte
|
IRubyObject |
each_byte19(ThreadContext context,
Block block)
Deprecated.
|
IRubyObject |
each_char(ThreadContext context,
Block block) |
IRubyObject |
each_char19(ThreadContext context,
Block block)
Deprecated.
|
IRubyObject |
each_codepoint(ThreadContext context,
Block block)
rb_str_each_codepoint
|
IRubyObject |
each_grapheme_cluster(ThreadContext context,
Block block) |
IRubyObject |
each_line(ThreadContext context,
Block block)
rb_str_each_line
|
IRubyObject |
each_line(ThreadContext context,
IRubyObject arg,
Block block) |
IRubyObject |
each_line(ThreadContext context,
IRubyObject arg,
IRubyObject opts,
Block block) |
IRubyObject |
each_line19(ThreadContext context,
Block block)
Deprecated.
|
IRubyObject |
each_line19(ThreadContext context,
IRubyObject arg,
Block block)
Deprecated.
|
IRubyObject |
each_lineCommon(ThreadContext context,
IRubyObject sep,
Block block)
Deprecated.
|
RubyBoolean |
empty_p(ThreadContext context)
rb_str_empty
|
void |
empty() |
IRubyObject |
encode_bang(ThreadContext context,
IRubyObject arg0) |
IRubyObject |
encode_bang(ThreadContext context,
IRubyObject[] args) |
IRubyObject |
encode_bang(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
encode_bang(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
IRubyObject |
encode(ThreadContext context) |
IRubyObject |
encode(ThreadContext context,
IRubyObject arg) |
IRubyObject |
encode(ThreadContext context,
IRubyObject toEncoding,
IRubyObject arg) |
IRubyObject |
encode(ThreadContext context,
IRubyObject toEncoding,
IRubyObject forcedEncoding,
IRubyObject opts) |
static ByteList |
encodeBytelist(java.lang.CharSequence value,
org.jcodings.Encoding encoding) |
IRubyObject |
encoding(ThreadContext context) |
IRubyObject |
end_with_p(ThreadContext context) |
IRubyObject |
end_with_p(ThreadContext context,
IRubyObject arg) |
IRubyObject |
end_with_p(ThreadContext context,
IRubyObject[] args) |
boolean |
endsWithAsciiChar(char c) |
boolean |
eql(IRubyObject other)
short circuit for String key comparison
|
boolean |
equals(java.lang.Object other)
This override does not do a "checked" dispatch.
|
RubyString |
export(ThreadContext context) |
IRubyObject |
force_encoding(ThreadContext context,
IRubyObject enc) |
IRubyObject |
freeze(ThreadContext context)
rb_obj_freeze
call-seq:
obj.freeze => obj
Prevents further modifications to obj.
|
IRubyObject |
getbyte(ThreadContext context,
IRubyObject index) |
ByteList |
getByteList() |
byte[] |
getBytes() |
int |
getCodeRange() |
org.jcodings.Encoding |
getEncoding() |
java.lang.Class |
getJavaClass()
Will return the Java interface that most closely can represent
this object, when working through Java integration translations.
|
org.jcodings.Encoding |
getMarshalEncoding() |
ClassIndex |
getNativeClassIndex()
This is overridden in the other concrete Java builtins to provide a fast way
to determine what type they are.
|
java.lang.String |
getUnicodeValue()
used by ar-jdbc
|
java.lang.CharSequence |
getValue() |
IRubyObject |
grapheme_clusters(ThreadContext context,
Block block) |
IRubyObject |
gsub_bang(ThreadContext context,
IRubyObject arg0,
Block block) |
IRubyObject |
gsub_bang(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
IRubyObject |
gsub_bang19(ThreadContext context,
IRubyObject arg0,
Block block)
Deprecated.
|
IRubyObject |
gsub_bang19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Block block)
Deprecated.
|
IRubyObject |
gsub(ThreadContext context,
IRubyObject arg0,
Block block) |
IRubyObject |
gsub(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
IRubyObject |
gsub19(ThreadContext context,
IRubyObject arg0,
Block block)
Deprecated.
|
IRubyObject |
gsub19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Block block)
Deprecated.
|
RubyString |
gsubFast(ThreadContext context,
RubyRegexp regexp,
RubyString repl,
Block block) |
RubyFixnum |
hash()
rb_obj_id
Will return the hash code of this object.
|
int |
hashCode()
This override does not do "checked" dispatch since Object usually has #hash defined.
|
IRubyObject |
hex(ThreadContext context)
rb_str_hex
|
IRubyObject |
hex19(ThreadContext context)
Deprecated.
|
RubyBoolean |
include_p(ThreadContext context,
IRubyObject obj)
rb_str_include
|
RubyBoolean |
include_p19(ThreadContext context,
IRubyObject obj)
Deprecated.
|
boolean |
independent() |
IRubyObject |
index(ThreadContext context,
IRubyObject arg0)
rb_str_index_m
|
IRubyObject |
index(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
index19(ThreadContext context,
IRubyObject arg0)
Deprecated.
|
IRubyObject |
index19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1)
Deprecated.
|
RubyString |
initialize_copy(IRubyObject other)
rb_obj_init_copy
Initializes this object as a copy of the original, that is the
parameter to this object.
|
IRubyObject |
initialize(ThreadContext context) |
IRubyObject |
initialize(ThreadContext context,
IRubyObject arg0) |
IRubyObject |
initialize(ThreadContext context,
IRubyObject arg0,
IRubyObject opts) |
IRubyObject |
initialize19(ThreadContext context,
IRubyObject arg0)
Deprecated.
|
IRubyObject |
insert(ThreadContext context,
IRubyObject indexArg,
IRubyObject stringArg) |
IRubyObject |
insert19(ThreadContext context,
IRubyObject indexArg,
IRubyObject stringArg)
Deprecated.
|
RubyString |
inspect()
rb_str_inspect
|
static RubyString |
inspect(Ruby runtime,
ByteList byteList) |
IRubyObject |
inspect19()
Deprecated.
|
static IRubyObject |
inspect19(Ruby runtime,
ByteList byteList)
Deprecated.
|
RubySymbol |
intern()
rb_str_intern
|
RubySymbol |
intern19()
Deprecated.
|
boolean |
isAsciiOnly() |
boolean |
isBrokenString() |
boolean |
isCodeRangeAsciiOnly() |
boolean |
isCodeRangeBroken() |
boolean |
isCodeRangeValid() |
boolean |
isEmpty() |
void |
keepCodeRange() |
int |
length() |
RubyFixnum |
length19()
Deprecated.
|
IRubyObject |
lines(ThreadContext context,
Block block) |
IRubyObject |
lines(ThreadContext context,
IRubyObject arg,
Block block) |
IRubyObject |
lines20(ThreadContext context,
Block block)
Deprecated.
|
IRubyObject |
lines20(ThreadContext context,
IRubyObject arg,
Block block)
Deprecated.
|
IRubyObject |
ljust(IRubyObject arg0) |
IRubyObject |
ljust(IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
ljust19(IRubyObject arg0)
Deprecated.
|
IRubyObject |
ljust19(IRubyObject arg0,
IRubyObject arg1)
Deprecated.
|
IRubyObject |
lstrip_bang(ThreadContext context) |
IRubyObject |
lstrip_bang19(ThreadContext context)
Deprecated.
|
IRubyObject |
lstrip(ThreadContext context) |
IRubyObject |
lstrip19(ThreadContext context)
Deprecated.
|
RubyString |
makeIndependent() |
RubyString |
makeIndependent(int length) |
RubyString |
makeShared(Ruby runtime,
int index,
int len) |
RubyString |
makeShared(Ruby runtime,
RubyClass meta,
int index,
int len) |
RubyString |
makeShared19(Ruby runtime,
int index,
int len)
Deprecated.
|
RubyString |
makeShared19(Ruby runtime,
RubyClass meta,
int index,
int len)
Deprecated.
|
RubyString |
makeSharedString(Ruby runtime,
int index,
int len) |
RubyString |
makeSharedString19(Ruby runtime,
int index,
int len)
Deprecated.
|
IRubyObject |
match_p(ThreadContext context,
IRubyObject pattern) |
IRubyObject |
match_p(ThreadContext context,
IRubyObject pattern,
IRubyObject pos) |
IRubyObject |
match(ThreadContext context,
IRubyObject pattern)
String#match(pattern)
rb_str_match_m
|
IRubyObject |
match19(ThreadContext context,
IRubyObject[] args,
Block block) |
IRubyObject |
match19(ThreadContext context,
IRubyObject pattern,
Block block) |
IRubyObject |
match19(ThreadContext context,
IRubyObject pattern,
IRubyObject pos,
Block block) |
IRubyObject |
minus_at(ThreadContext context) |
void |
modify()
rb_str_modify
|
void |
modify(int length)
rb_str_modify (with length bytes ensured)
|
void |
modify19() |
void |
modify19(int length)
Deprecated.
|
void |
modifyAndKeepCodeRange() |
void |
modifyCheck()
Check that the string can be modified, raising error otherwise.
|
void |
modifyCheck(byte[] b,
int len) |
void |
modifyExpand(int length)
rb_str_modify_expand
|
static RubyString |
newAllocatedString(Ruby runtime,
RubyClass metaClass) |
static RubyString |
newEmptyString(Ruby runtime) |
static RubyString |
newEmptyString(Ruby runtime,
org.jcodings.Encoding enc) |
static RubyString |
newEmptyString(Ruby runtime,
RubyClass metaClass) |
static RubyString |
newEmptyString(Ruby runtime,
RubyClass metaClass,
org.jcodings.Encoding enc) |
RubyString |
newFrozen() |
static RubyString |
newInstance(IRubyObject recv,
IRubyObject[] args,
Block block)
rb_str_s_new
|
static RubyString |
newInternalFromJavaExternal(Ruby runtime,
java.lang.String str)
Return a new Ruby String encoded as the default internal encoding given a Java String that
has come from an external source.
|
RubyString |
newString(ByteList s)
Deprecated.
|
RubyString |
newString(java.lang.CharSequence s)
Deprecated.
|
static RubyString |
newString(Ruby runtime,
byte[] bytes) |
static RubyString |
newString(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
newString(Ruby runtime,
byte[] bytes,
int start,
int length,
org.jcodings.Encoding encoding) |
static RubyString |
newString(Ruby runtime,
ByteList bytes) |
static RubyString |
newString(Ruby runtime,
ByteList bytes,
org.jcodings.Encoding encoding) |
static RubyString |
newString(Ruby runtime,
ByteList bytes,
int coderange) |
static RubyString |
newString(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
newString(Ruby runtime,
java.lang.CharSequence str,
org.jcodings.Encoding encoding) |
static RubyString |
newString(Ruby runtime,
RubyClass clazz,
java.lang.CharSequence str)
Deprecated.
|
static RubyString |
newString(Ruby runtime,
java.lang.String str) |
static RubyString |
newString(Ruby runtime,
java.lang.String str,
org.jcodings.Encoding encoding) |
static RubyString |
newStringLight(Ruby runtime,
ByteList bytes) |
static RubyString |
newStringLight(Ruby runtime,
int size) |
static RubyString |
newStringLight(Ruby runtime,
int size,
org.jcodings.Encoding encoding) |
static RubyString |
newStringNoCopy(Ruby runtime,
byte[] bytes) |
static RubyString |
newStringNoCopy(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
newStringNoCopy(Ruby runtime,
ByteList bytes) |
static RubyString |
newStringNoCopy(Ruby runtime,
ByteList bytes,
org.jcodings.Encoding enc,
int cr) |
static RubyString |
newStringNoCopy(Ruby runtime,
RubyClass clazz,
ByteList bytes) |
static RubyString |
newStringNoCopy(Ruby runtime,
RubyClass clazz,
ByteList bytes,
org.jcodings.Encoding enc,
int cr) |
static RubyString |
newStringShared(Ruby runtime,
byte[] bytes) |
static RubyString |
newStringShared(Ruby runtime,
byte[] bytes,
org.jcodings.Encoding encoding) |
static RubyString |
newStringShared(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
newStringShared(Ruby runtime,
byte[] bytes,
int start,
int length,
org.jcodings.Encoding encoding) |
static RubyString |
newStringShared(Ruby runtime,
ByteList bytes) |
static RubyString |
newStringShared(Ruby runtime,
ByteList bytes,
org.jcodings.Encoding encoding) |
static RubyString |
newStringShared(Ruby runtime,
ByteList bytes,
int codeRange) |
static RubyString |
newStringShared(Ruby runtime,
RubyClass clazz,
ByteList bytes) |
static RubyString |
newStringShared(Ruby runtime,
RubyClass clazz,
ByteList bytes,
org.jcodings.Encoding encoding) |
static RubyString |
newStringShared(Ruby runtime,
RubyString orig) |
static RubyString |
newUnicodeString(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
newUnicodeString(Ruby runtime,
java.lang.String str) |
static RubyString |
newUSASCIIString(Ruby runtime,
java.lang.String str) |
static RubyString |
newUsAsciiStringNoCopy(Ruby runtime,
ByteList bytes) |
static RubyString |
newUsAsciiStringShared(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
newUsAsciiStringShared(Ruby runtime,
ByteList bytes) |
static RubyString |
newUTF16String(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
newUTF16String(Ruby runtime,
java.lang.String str) |
static RubyString |
newUTF8String(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
newUTF8String(Ruby runtime,
java.lang.String str) |
static RubyString |
objAsString(ThreadContext context,
IRubyObject obj)
rb_obj_as_string
|
IRubyObject |
oct(ThreadContext context)
rb_str_oct
|
IRubyObject |
oct19(ThreadContext context)
Deprecated.
|
IRubyObject |
op_aref(ThreadContext context,
IRubyObject arg)
rb_str_aref, rb_str_aref_m
|
IRubyObject |
op_aref(ThreadContext context,
IRubyObject arg1,
IRubyObject arg2) |
IRubyObject |
op_aref19(ThreadContext context,
IRubyObject arg)
Deprecated.
|
IRubyObject |
op_aref19(ThreadContext context,
IRubyObject arg1,
IRubyObject arg2)
Deprecated.
|
IRubyObject |
op_aset(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1)
rb_str_aset, rb_str_aset_m
|
IRubyObject |
op_aset(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
IRubyObject |
op_aset19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1)
Deprecated.
|
IRubyObject |
op_aset19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2)
Deprecated.
|
int |
op_cmp(RubyString other)
rb_str_cmp
|
IRubyObject |
op_cmp(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_equal(ThreadContext context,
IRubyObject other)
rb_str_equal
|
IRubyObject |
op_equal19(ThreadContext context,
IRubyObject other)
Deprecated.
|
RubyString |
op_format(ThreadContext context,
IRubyObject arg) |
IRubyObject |
op_ge(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_ge19(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_gt(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_gt19(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_le(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_le19(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_lt(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_lt19(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_match(ThreadContext context,
IRubyObject other)
rb_str_match
|
IRubyObject |
op_match19(ThreadContext context,
IRubyObject other)
Deprecated.
|
IRubyObject |
op_mul(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_mul19(ThreadContext context,
IRubyObject other) |
IRubyObject |
op_plus(ThreadContext context,
IRubyObject arg) |
IRubyObject |
op_plus19(ThreadContext context,
IRubyObject arg) |
IRubyObject |
ord(ThreadContext context) |
IRubyObject |
partition(ThreadContext context,
Block block) |
IRubyObject |
partition(ThreadContext context,
IRubyObject arg,
Block block) |
IRubyObject |
plus_at() |
RubyString |
prepend(byte ch) |
RubyString |
prepend(int ch) |
IRubyObject |
prepend(ThreadContext context,
IRubyObject other)
rb_str_prepend
|
IRubyObject |
prepend(ThreadContext context,
IRubyObject[] objs)
rb_str_prepend
|
static IRubyObject |
rbStrEscape(ThreadContext context,
RubyString str) |
int |
rbStrOffset(int pos) |
IRubyObject |
replace(IRubyObject other)
rb_str_replace_m
|
RubyString |
replace19(IRubyObject other) |
void |
resize(int length)
rb_str_resize
|
RubyString |
reverse_bang(ThreadContext context) |
RubyString |
reverse_bang19(ThreadContext context) |
IRubyObject |
reverse(ThreadContext context) |
IRubyObject |
reverse19(ThreadContext context) |
IRubyObject |
rindex(ThreadContext context,
IRubyObject arg0)
rb_str_rindex_m
|
IRubyObject |
rindex(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
rindex19(ThreadContext context,
IRubyObject arg0)
Deprecated.
|
IRubyObject |
rindex19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1)
Deprecated.
|
IRubyObject |
rjust(IRubyObject arg0) |
IRubyObject |
rjust(IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
rjust19(IRubyObject arg0)
Deprecated.
|
IRubyObject |
rjust19(IRubyObject arg0,
IRubyObject arg1)
Deprecated.
|
IRubyObject |
rpartition(ThreadContext context,
IRubyObject arg) |
IRubyObject |
rstrip_bang(ThreadContext context) |
IRubyObject |
rstrip_bang19(ThreadContext context)
Deprecated.
|
IRubyObject |
rstrip(ThreadContext context) |
IRubyObject |
rstrip19(ThreadContext context)
Deprecated.
|
RubyFixnum |
rubyLength(ThreadContext context) |
IRubyObject |
scan(ThreadContext context,
IRubyObject pat,
Block block) |
IRubyObject |
scan19(ThreadContext context,
IRubyObject arg,
Block block)
Deprecated.
|
int |
scanForCodeRange() |
static int |
scanForCodeRange(ByteList byteList) |
IRubyObject |
scrub_bang(ThreadContext context,
Block block) |
IRubyObject |
scrub_bang(ThreadContext context,
IRubyObject repl,
Block block) |
IRubyObject |
scrub(ThreadContext context,
Block block) |
IRubyObject |
scrub(ThreadContext context,
IRubyObject repl,
Block block) |
IRubyObject |
setbyte(ThreadContext context,
IRubyObject index,
IRubyObject val) |
void |
setByteListShared() |
void |
setCodeRange(int codeRange) |
void |
setEncoding(org.jcodings.Encoding encoding) |
void |
setEncodingAndCodeRange(org.jcodings.Encoding enc,
int cr) |
void |
setReadLength(int length) |
void |
setValue(ByteList value) |
void |
setValue(java.lang.CharSequence value)
Deprecated.
|
boolean |
shouldMarshalEncoding() |
int |
size() |
IRubyObject |
slice_bang(ThreadContext context,
IRubyObject arg0)
rb_str_slice_bang
|
IRubyObject |
slice_bang(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
slice_bang19(ThreadContext context,
IRubyObject arg0)
Deprecated.
|
IRubyObject |
slice_bang19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1)
Deprecated.
|
RubyArray |
split(ThreadContext context) |
RubyArray |
split(ThreadContext context,
IRubyObject arg0) |
RubyArray |
split(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
RubyArray |
split19(IRubyObject spat,
ThreadContext context,
boolean useBackref)
Deprecated.
|
RubyArray |
split19(ThreadContext context)
Deprecated.
|
RubyArray |
split19(ThreadContext context,
IRubyObject arg0)
Deprecated.
|
RubyArray |
split19(ThreadContext context,
IRubyObject arg0,
boolean useBackref)
Deprecated.
|
RubyArray |
split19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1)
Deprecated.
|
IRubyObject |
squeeze_bang(ThreadContext context) |
IRubyObject |
squeeze_bang(ThreadContext context,
IRubyObject arg) |
IRubyObject |
squeeze_bang(ThreadContext context,
IRubyObject[] args) |
IRubyObject |
squeeze_bang19(ThreadContext context)
Deprecated.
|
IRubyObject |
squeeze_bang19(ThreadContext context,
IRubyObject arg)
Deprecated.
|
IRubyObject |
squeeze_bang19(ThreadContext context,
IRubyObject[] args)
Deprecated.
|
IRubyObject |
squeeze(ThreadContext context)
rb_str_squeeze / rb_str_squeeze_bang
|
IRubyObject |
squeeze(ThreadContext context,
IRubyObject arg) |
IRubyObject |
squeeze(ThreadContext context,
IRubyObject[] args) |
IRubyObject |
squeeze19(ThreadContext context)
Deprecated.
|
IRubyObject |
squeeze19(ThreadContext context,
IRubyObject arg)
Deprecated.
|
IRubyObject |
squeeze19(ThreadContext context,
IRubyObject[] args)
Deprecated.
|
IRubyObject |
start_with_p(ThreadContext context) |
IRubyObject |
start_with_p(ThreadContext context,
IRubyObject arg) |
IRubyObject |
start_with_p(ThreadContext context,
IRubyObject[] args) |
IRubyObject |
str_eql_p(ThreadContext context,
IRubyObject other) |
IRubyObject |
str_eql_p19(ThreadContext context,
IRubyObject other) |
RubyString |
strDup()
Deprecated.
|
RubyString |
strDup(Ruby runtime) |
int |
strHashCode(Ruby runtime)
Generate a hash for the String, using its associated Ruby instance's hash seed.
|
static byte[] |
stringToBytes(java.lang.String string) |
IRubyObject |
stringToInum(int base) |
IRubyObject |
stringToInum(int base,
boolean badcheck)
rb_str_to_inum
|
IRubyObject |
stringToInum19(int base,
boolean badcheck)
Deprecated.
|
static RubyString |
stringValue(IRubyObject object) |
IRubyObject |
strip_bang(ThreadContext context) |
IRubyObject |
strip_bang19(ThreadContext context)
Deprecated.
|
IRubyObject |
strip(ThreadContext context) |
IRubyObject |
strip19(ThreadContext context)
Deprecated.
|
int |
strLength() |
IRubyObject |
strScrub(ThreadContext context,
IRubyObject repl,
Block block)
Scrub the contents of this string, replacing invalid characters as appropriate.
|
IRubyObject |
sub_bang(ThreadContext context,
IRubyObject arg0,
Block block) |
IRubyObject |
sub_bang(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
IRubyObject |
sub_bang19(ThreadContext context,
IRubyObject arg0,
Block block)
Deprecated.
|
IRubyObject |
sub_bang19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Block block)
Deprecated.
|
IRubyObject |
sub(ThreadContext context,
IRubyObject arg0,
Block block)
rb_str_sub / rb_str_sub_bang
|
IRubyObject |
sub(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
IRubyObject |
sub19(ThreadContext context,
IRubyObject arg0,
Block block)
Deprecated.
|
IRubyObject |
sub19(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1,
Block block)
Deprecated.
|
IRubyObject |
subBangFast(ThreadContext context,
RubyRegexp regexp,
RubyString repl)
sub! but without any frame globals ...
|
java.lang.CharSequence |
subSequence(int start,
int end) |
IRubyObject |
substr(int beg,
int len)
Deprecated.
|
IRubyObject |
substr(Ruby runtime,
int beg,
int len) |
IRubyObject |
substr19(Ruby runtime,
int beg,
int len) |
IRubyObject |
succ_bang() |
IRubyObject |
succ_bang19()
Deprecated.
|
IRubyObject |
succ(ThreadContext context) |
IRubyObject |
succ19(ThreadContext context)
Deprecated.
|
IRubyObject |
sum(ThreadContext context) |
IRubyObject |
sum(ThreadContext context,
IRubyObject arg) |
IRubyObject |
sumCommon(ThreadContext context,
long bits) |
IRubyObject |
swapcase_bang(ThreadContext context) |
IRubyObject |
swapcase_bang(ThreadContext context,
IRubyObject arg) |
IRubyObject |
swapcase_bang(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
swapcase_bang19(ThreadContext context)
Deprecated.
|
RubyString |
swapcase(ThreadContext context) |
RubyString |
swapcase(ThreadContext context,
IRubyObject arg) |
RubyString |
swapcase(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
RubyString |
swapcase19(ThreadContext context)
Deprecated.
|
IRubyObject |
to_c(ThreadContext context)
string_to_c
|
IRubyObject |
to_f()
rb_str_to_f
|
IRubyObject |
to_f19()
Deprecated.
|
IRubyObject |
to_i()
rb_str_to_i
|
IRubyObject |
to_i(IRubyObject arg0)
rb_str_to_i
|
IRubyObject |
to_i19()
Deprecated.
|
IRubyObject |
to_i19(IRubyObject arg0)
Deprecated.
|
IRubyObject |
to_r(ThreadContext context)
string_to_r
|
IRubyObject |
to_s()
rb_any_to_s
call-seq:
obj.to_s => string
Returns a string representing obj.
|
org.jcodings.Encoding |
toEncoding(Ruby runtime) |
<T> T |
toJava(java.lang.Class<T> target)
Convert the object to the specified Java class, if possible.
|
java.lang.String |
toString()
The default toString method is just a wrapper that calls the
Ruby "to_s" method.
|
IRubyObject |
tr_bang(ThreadContext context,
IRubyObject src,
IRubyObject repl) |
IRubyObject |
tr_bang19(ThreadContext context,
IRubyObject src,
IRubyObject repl) |
IRubyObject |
tr_s_bang(ThreadContext context,
IRubyObject src,
IRubyObject repl) |
IRubyObject |
tr_s_bang19(ThreadContext context,
IRubyObject src,
IRubyObject repl) |
IRubyObject |
tr_s(ThreadContext context,
IRubyObject src,
IRubyObject repl)
rb_str_tr_s / rb_str_tr_s_bang
|
IRubyObject |
tr_s19(ThreadContext context,
IRubyObject src,
IRubyObject repl) |
IRubyObject |
tr(ThreadContext context,
IRubyObject src,
IRubyObject repl)
rb_str_tr / rb_str_tr_bang
|
IRubyObject |
tr19(ThreadContext context,
IRubyObject src,
IRubyObject repl) |
static IRubyObject |
try_convert(ThreadContext context,
IRubyObject recv,
IRubyObject str) |
IRubyObject |
undump(ThreadContext context) |
static RubyString |
unmarshalFrom(UnmarshalStream input) |
RubyArray |
unpack(IRubyObject obj) |
RubyArray |
unpack(ThreadContext context,
IRubyObject obj,
Block block) |
int |
unseededStrHashCode(Ruby runtime)
Generate a hash for the String, without a seed.
|
IRubyObject |
upcase_bang(ThreadContext context) |
IRubyObject |
upcase_bang(ThreadContext context,
IRubyObject arg) |
IRubyObject |
upcase_bang(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
IRubyObject |
upcase_bang19(ThreadContext context)
Deprecated.
|
RubyString |
upcase(ThreadContext context) |
RubyString |
upcase(ThreadContext context,
IRubyObject arg) |
RubyString |
upcase(ThreadContext context,
IRubyObject arg0,
IRubyObject arg1) |
RubyString |
upcase19(ThreadContext context)
Deprecated.
|
IRubyObject |
upto(ThreadContext context,
IRubyObject end,
Block block)
rb_str_upto_m
|
IRubyObject |
upto(ThreadContext context,
IRubyObject end,
IRubyObject excl,
Block block) |
IRubyObject |
upto19(ThreadContext context,
IRubyObject end,
Block block)
Deprecated.
|
IRubyObject |
upto19(ThreadContext context,
IRubyObject end,
IRubyObject excl,
Block block)
Deprecated.
|
IRubyObject |
valid_encoding_p(ThreadContext context) |
void |
view(ByteList bytes) |