Uses of Class
org.jruby.RubyString

Packages that use RubyString
org.jruby   
org.jruby.javasupport   
org.jruby.runtime.builtin   
org.jruby.util   
 

Uses of RubyString in org.jruby
 

Methods in org.jruby that return RubyString
 RubyString Builtins.toString(java.lang.String value)
           
static RubyString KernelModule.gets(IRubyObject recv, IRubyObject[] args)
           
static RubyString KernelModule.readline(IRubyObject recv, IRubyObject[] args)
           
 RubyString RubyArgsFile.internalGets(IRubyObject[] args)
           
 RubyString RubyArgsFile.filename()
           
 RubyString RubyArray.inspect()
          rb_ary_inspect
 RubyString RubyArray.join(IRubyObject[] args)
          rb_ary_join_m
 RubyString RubyArray.to_s()
          rb_ary_to_s
 RubyString RubyArray.pack(IRubyObject obj)
           
 RubyString RubyBignum.to_s()
           
static RubyString RubyDir.getwd(IRubyObject recv)
          Returns the current directory.
 RubyString RubyDir.read()
          Returns the next entry from this directory.
 RubyString RubyException.to_s()
           
 RubyString RubyException.inspect()
          inspects an object and return a kind of debug information
static RubyString RubyFile.dirname(IRubyObject recv, RubyString filename)
           
static RubyString RubyFile.basename(IRubyObject recv, IRubyObject[] args)
           
static RubyString RubyFile.join(IRubyObject recv, IRubyObject[] args)
           
 RubyString RubyFixnum.to_s()
           
 RubyString RubyFixnum.id2name()
           
 RubyString RubyFloat.to_s()
           
 RubyString RubyHash.inspect()
           
 RubyString RubyHash.to_s()
           
 RubyString RubyIO.internalGets(IRubyObject[] args)
          Read a line.
 RubyString RubyIO.gets(IRubyObject[] args)
          Read a line.
 RubyString RubyIO.readline(IRubyObject[] args)
          Read a line.
 RubyString RubyInteger.chr()
           
 RubyString RubyMatchData.pre_match()
          match_pre_match
 RubyString RubyMatchData.post_match()
          match_post_match
 RubyString RubyMatchData.string()
          match_string
 RubyString RubyMatchData.to_s()
          match_to_s
 RubyString RubyModule.name()
          rb_mod_name
 RubyString RubyModule.to_s()
          rb_mod_to_s
static RubyString RubyNil.to_s(IRubyObject recv)
          nil_to_s
static RubyString RubyNil.inspect(IRubyObject recv)
          nil_inspect
 RubyString RubyObject.inspect()
          rb_obj_inspect
 RubyString RubyObject.to_s()
           
 RubyString RubyRange.inspect()
           
static RubyString RubyRegexp.quote(IRubyObject recv, RubyString str)
          rb_reg_s_quote
 RubyString RubyRegexp.source()
          rb_reg_source
 RubyString RubyRegexp.inspect()
          rb_reg_inspect
static RubyString RubyString.nilString(Ruby ruby)
           
static RubyString RubyString.objAsString(IRubyObject obj)
          rb_obj_as_string
 RubyString RubyString.newString(java.lang.String s)
          Create a new String which uses the same Ruby runtime and the same class like this String.
static RubyString RubyString.newString(Ruby ruby, java.lang.String str)
          rb_str_new2
static RubyString RubyString.newString(Ruby ruby, java.lang.String str, int len)
          rb_str_new
static RubyString RubyString.newString(Ruby ruby, byte[] bytes)
           
 RubyString RubyString.cat(java.lang.String str)
          rb_str_cat
 RubyString RubyString.to_s()
          rb_str_to_s
 RubyString RubyString.replace(IRubyObject other)
          rb_str_replace_m
 RubyString RubyString.reverse()
          rb_str_reverse
 RubyString RubyString.reverse_bang()
          rb_str_reverse_bang
static RubyString RubyString.newInstance(IRubyObject recv, IRubyObject[] args)
          rb_str_s_new
 RubyString RubyString.capitalize()
          rb_str_capitalize
 RubyString RubyString.capitalize_bang()
          rb_str_capitalize_bang
 RubyString RubyString.upcase()
          rb_str_upcase
 RubyString RubyString.upcase_bang()
          rb_str_upcase_bang
 RubyString RubyString.downcase()
          rb_str_downcase
 RubyString RubyString.downcase_bang()
          rb_str_downcase_bang
 RubyString RubyString.swapcase()
          rb_str_swapcase
 RubyString RubyString.dump()
          rb_str_dump
 RubyString RubyString.inspect()
          rb_str_inspect
 RubyString RubyString.op_plus(IRubyObject other)
          rb_str_plus
 RubyString RubyString.op_mul(IRubyObject other)
          rb_str_mul
 RubyString RubyString.append(IRubyObject other)
          rb_str_append
 RubyString RubyString.concat(IRubyObject other)
          rb_str_concat
static RubyString RubyString.stringValue(IRubyObject anObject)
           
 RubyString RubyString.chomp(IRubyObject[] args)
          rb_str_chomp
 RubyString RubyString.chomp_bang(IRubyObject[] args)
          rb_str_chomp_bang
 RubyString RubyString.each_byte()
          rb_str_each_byte
static RubyString RubyString.unmarshalFrom(UnmarshalStream input)
           
 RubyString RubyStruct.to_s()
           
 RubyString RubyStruct.inspect()
           
 RubyString RubySymbol.inspect()
           
 RubyString RubySymbol.to_s()
           
 RubyString RubyTime.strftime(IRubyObject format)
           
 RubyString RubyTime.asctime()
           
 RubyString RubyTime.to_s()
           
 RubyString RubyTime.zone()
           
 

Methods in org.jruby with parameters of type RubyString
 void Ruby.loadScript(RubyString scriptName, RubyString source, boolean wrap)
          This method compiles and interprets a Ruby script.
 IRubyObject RubyDir.initialize(RubyString path)
          Creates a new Dir.
static RubyArray RubyDir.glob(IRubyObject recv, RubyString pat)
          Returns an array of filenames matching the specified wildcard pattern pat.
static RubyArray RubyDir.entries(IRubyObject recv, RubyString path)
          Returns an array containing all of the filenames in the given directory.
static IRubyObject RubyDir.chdir(IRubyObject recv, RubyString path)
          Changes the current directory to path
static IRubyObject RubyDir.chroot(IRubyObject recv, RubyString path)
          Changes the root directory (only allowed by super user).
static IRubyObject RubyDir.rmdir(IRubyObject recv, RubyString path)
          Deletes the directory specified by path.
static IRubyObject RubyDir.foreach(IRubyObject recv, RubyString path)
          Executes the block once for each file in the directory specified by path.
static IRubyObject RubyDir.open(IRubyObject recv, RubyString path)
          Returns a new directory object for path.
static IRubyObject RubyFile.lstat(IRubyObject recv, RubyString name)
           
static RubyString RubyFile.dirname(IRubyObject recv, RubyString filename)
           
static RubyBoolean RubyFileTest.directory_p(IRubyObject recv, RubyString filename)
           
static IRubyObject RubyFileTest.exist_p(IRubyObject recv, RubyString filename)
           
static RubyBoolean RubyFileTest.readable_p(IRubyObject recv, RubyString filename)
           
static IRubyObject RubyFileTest.size(IRubyObject recv, RubyString filename)
           
static RubyBoolean RubyFileTest.writable_p(IRubyObject recv, RubyString filename)
           
static RubyBoolean RubyFileTest.zero_p(IRubyObject recv, RubyString filename)
           
static RubyInteger RubyNumeric.str2inum(Ruby ruby, RubyString str, int base)
          Converts a string representation of an integer to the integer value.
static RubyFloat RubyNumeric.str2fnum(Ruby ruby, RubyString arg)
          Converts a string representation of a floating-point number to the numeric value.
static RubyRegexp RubyRegexp.newRegexp(RubyString str, int options)
           
static RubyString RubyRegexp.quote(IRubyObject recv, RubyString str)
          rb_reg_s_quote
 int RubyString.cmp(RubyString other)
          rb_str_cmp
 

Uses of RubyString in org.jruby.javasupport
 

Methods in org.jruby.javasupport that return RubyString
 RubyString JavaCallable.inspect()
           
 RubyString JavaClass.name()
           
 RubyString JavaField.value_type()
           
 RubyString JavaField.name()
           
 RubyString JavaMethod.name()
           
 RubyString JavaObject.to_s()
           
 RubyString JavaObject.java_type()
           
 

Uses of RubyString in org.jruby.runtime.builtin
 

Methods in org.jruby.runtime.builtin that return RubyString
 RubyString IRubyObject.inspect()
          Method inspect.
 

Uses of RubyString in org.jruby.util
 

Methods in org.jruby.util that return RubyString
static RubyString Pack.pack(java.util.ArrayList list, RubyString formatString)
          pack_pack Template characters for Array#pack Directive Meaning
Directive Meaning @ Moves to absolute position A ASCII string (space padded, count is width) a ASCII string (null padded, count is width) B Bit string (descending bit order) b Bit string (ascending bit order) C Unsigned char c Char d Double-precision float, native format E Double-precision float, little-endian byte order e Single-precision float, little-endian byte order f Single-precision float, native format G Double-precision float, network (big-endian) byte order g Single-precision float, network (big-endian) byte order H Hex string (high nibble first) h Hex string (low nibble first) I Unsigned integer i Integer L Unsigned long l Long M Quoted printable, MIME encoding (see RFC2045) m Base64 encoded string N Long, network (big-endian) byte order n Short, network (big-endian) byte-order P Pointer to a structure (fixed-length string) p Pointer to a null-terminated string S Unsigned short s Short U UTF-8 u UU-encoded string V Long, little-endian byte order v Short, little-endian byte order X Back up a byte x Null byte Z Same as ``A'' Packs the contents of arr into a binary sequence according to the directives in aTemplateString (see preceding table).
 

Methods in org.jruby.util with parameters of type RubyString
static RubyArray Pack.unpack(java.lang.String encodedString, RubyString formatString)
          Decodes str (which may contain binary data) according to the format string, returning an array of each value extracted.
static RubyString Pack.pack(java.util.ArrayList list, RubyString formatString)
          pack_pack Template characters for Array#pack Directive Meaning
Directive Meaning @ Moves to absolute position A ASCII string (space padded, count is width) a ASCII string (null padded, count is width) B Bit string (descending bit order) b Bit string (ascending bit order) C Unsigned char c Char d Double-precision float, native format E Double-precision float, little-endian byte order e Single-precision float, little-endian byte order f Single-precision float, native format G Double-precision float, network (big-endian) byte order g Single-precision float, network (big-endian) byte order H Hex string (high nibble first) h Hex string (low nibble first) I Unsigned integer i Integer L Unsigned long l Long M Quoted printable, MIME encoding (see RFC2045) m Base64 encoded string N Long, network (big-endian) byte order n Short, network (big-endian) byte-order P Pointer to a structure (fixed-length string) p Pointer to a null-terminated string S Unsigned short s Short U UTF-8 u UU-encoded string V Long, little-endian byte order v Short, little-endian byte order X Back up a byte x Null byte Z Same as ``A'' Packs the contents of arr into a binary sequence according to the directives in aTemplateString (see preceding table).
 



Copyright © 2002 Jan Arne Petersen. All Rights Reserved.