Uses of Class
org.jruby.RubyString

Packages that use RubyString
org.jruby   
org.jruby.ast   
org.jruby.ast.executable   
org.jruby.evaluator   
org.jruby.ext.ffi   
org.jruby.javasupport   
org.jruby.javasupport.proxy   
org.jruby.runtime.builtin   
org.jruby.runtime.load   
org.jruby.util   
 

Uses of RubyString in org.jruby
 

Methods in org.jruby that return RubyString
 RubyString RubyString.append(IRubyObject other)
          rb_str_append
 RubyString RubyString.append19(IRubyObject other)
           
 RubyString RubyTime.asctime()
           
 RubyString RubyBasicObject.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.
 RubyString RubyString.asString()
           
 RubyString RubyString.cat(byte ch)
           
 RubyString RubyString.cat(byte[] str)
           
 RubyString RubyString.cat(byte[] str, int beg, int len)
           
 RubyString RubyString.cat(org.jruby.util.ByteList str)
           
 RubyString RubyString.cat(int ch)
           
 RubyString RubyString.cat(int code, org.jcodings.Encoding enc)
           
 RubyString RubyString.cat19(RubyString str)
           
 RubyString RubyString.catAscii(byte[] bytes, int p, int len)
           
 RubyString RubyString.chomp(IRubyObject[] args)
          Deprecated. 
 RubyString RubyString.chomp(ThreadContext context)
          rb_str_chop
 RubyString RubyString.chomp(ThreadContext context, IRubyObject arg0)
           
 RubyString RubyString.chomp19(ThreadContext context)
           
 RubyString RubyString.chomp19(ThreadContext context, IRubyObject arg0)
           
 RubyString RubyInteger.chr(ThreadContext context)
          int_chr
 RubyString RubyInteger.chr19(ThreadContext context)
           
 RubyString RubyInteger.chr19(ThreadContext context, IRubyObject arg)
           
 RubyString RubyString.clear()
           
 RubyString RubyString.concat(IRubyObject other)
          rb_str_concat
 RubyString RubyString.concat19(ThreadContext context, IRubyObject other)
           
 RubyString RubyObjectAdapter.convertToRubyString(IRubyObject obj)
           
 RubyString RubyBasicObject.convertToString()
          Tries to convert this object to a Ruby String using the "to_str" method.
 RubyString RubyString.convertToString()
           
 RubyString RubySymbol.convertToString()
           
 RubyString RubyString.crypt(ThreadContext context, IRubyObject other)
          rb_str_crypt
 RubyString RubyString.downcase(ThreadContext context)
          rb_str_downcase / rb_str_downcase_bang
 RubyString RubyString.downcase19(ThreadContext context)
           
 RubyString RubyTime.dump(IRubyObject[] args, Block unusedBlock)
           
 RubyString RubyString.each_byte(ThreadContext context, Block block)
          rb_str_each_byte
 RubyString RubyFileStat.ftype()
           
static RubyString RubyFile.get_path(ThreadContext context, IRubyObject obj)
          similar in spirit to rb_get_path from 1.9 source
static RubyString RubyDir.getHomeDirectoryPath(ThreadContext context)
           
static RubyString RubyDir.getwd(IRubyObject recv)
          Returns the current directory.
static RubyString RubyNil.inspect(IRubyObject recv)
          nil_inspect
static RubyString RubyFile.join(ThreadContext context, IRubyObject recv, IRubyObject[] args)
           
 RubyString RubyString.makeShared(Ruby runtime, int index, int len)
           
 RubyString RubyString.makeShared19(Ruby runtime, int index, int len)
           
static RubyString RubyString.newEmptyString(Ruby runtime)
           
static RubyString RubyString.newEmptyString(Ruby runtime, org.jcodings.Encoding enc)
           
static RubyString RubyString.newEmptyString(Ruby runtime, RubyClass metaClass)
           
static RubyString RubyString.newEmptyString(Ruby runtime, RubyClass metaClass, org.jcodings.Encoding enc)
           
static RubyString RubyString.newInstance(IRubyObject recv, IRubyObject[] args, Block block)
          rb_str_s_new
 RubyString Ruby.newString()
           
 RubyString Ruby.newString(org.jruby.util.ByteList byteList)
           
 RubyString RubyString.newString(org.jruby.util.ByteList s)
          Deprecated.  
 RubyString RubyString.newString(java.lang.CharSequence s)
          Deprecated.  
static RubyString RubyString.newString(Ruby runtime, byte[] bytes)
           
static RubyString RubyString.newString(Ruby runtime, byte[] bytes, int start, int length)
           
static RubyString RubyString.newString(Ruby runtime, org.jruby.util.ByteList bytes)
           
static RubyString RubyString.newString(Ruby runtime, java.lang.CharSequence str)
           
static RubyString RubyString.newString(Ruby runtime, RubyClass clazz, java.lang.CharSequence str)
          Deprecated. 
static RubyString RubyString.newString(Ruby runtime, java.lang.String str)
           
 RubyString Ruby.newString(java.lang.String string)
           
static RubyString RubyString.newStringLight(Ruby runtime, org.jruby.util.ByteList bytes)
           
static RubyString RubyString.newStringLight(Ruby runtime, int size)
           
static RubyString RubyString.newStringNoCopy(Ruby runtime, byte[] bytes)
           
static RubyString RubyString.newStringNoCopy(Ruby runtime, byte[] bytes, int start, int length)
           
static RubyString RubyString.newStringNoCopy(Ruby runtime, org.jruby.util.ByteList bytes)
           
static RubyString RubyString.newStringNoCopy(Ruby runtime, org.jruby.util.ByteList bytes, org.jcodings.Encoding enc, int cr)
           
static RubyString RubyString.newStringNoCopy(Ruby runtime, RubyClass clazz, org.jruby.util.ByteList bytes)
           
static RubyString RubyString.newStringNoCopy(Ruby runtime, RubyClass clazz, org.jruby.util.ByteList bytes, org.jcodings.Encoding enc, int cr)
           
 RubyString Ruby.newStringShared(org.jruby.util.ByteList byteList)
          Deprecated. 
static RubyString RubyString.newStringShared(Ruby runtime, byte[] bytes)
           
static RubyString RubyString.newStringShared(Ruby runtime, byte[] bytes, int start, int length)
           
static RubyString RubyString.newStringShared(Ruby runtime, org.jruby.util.ByteList bytes)
           
static RubyString RubyString.newStringShared(Ruby runtime, RubyClass clazz, org.jruby.util.ByteList bytes)
           
static RubyString RubyString.newStringShared(Ruby runtime, RubyString orig)
           
static RubyString RubyString.newUnicodeString(Ruby runtime, java.lang.String str)
           
static RubyString RubyString.newUsAsciiStringNoCopy(Ruby runtime, org.jruby.util.ByteList bytes)
           
static RubyString RubyString.newUsAsciiStringShared(Ruby runtime, byte[] bytes, int start, int length)
           
static RubyString RubyString.newUsAsciiStringShared(Ruby runtime, org.jruby.util.ByteList bytes)
           
static RubyString RubyString.objAsString(ThreadContext context, IRubyObject obj)
          rb_obj_as_string
 RubyString RubyArray.pack(ThreadContext context, IRubyObject obj)
           
 RubyString RubyFile.path(ThreadContext context)
           
static RubyString RubyRegexp.quote(ThreadContext context, IRubyObject recv, IRubyObject[] args)
          rb_reg_s_quote
 RubyString RubyString.replace19(IRubyObject other)
           
 RubyString RubyString.reverse_bang(ThreadContext context)
           
 RubyString RubyString.reverse_bang19(ThreadContext context)
           
 RubyString RubyString.strDup()
          Deprecated. 
 RubyString RubyString.strDup(Ruby runtime)
           
 RubyString RubyTime.strftime(IRubyObject format)
           
 RubyString RubyStringScanner.string()
           
static RubyString RubyString.stringValue(IRubyObject object)
           
 RubyString RubyString.swapcase(ThreadContext context)
          rb_str_swapcase / rb_str_swapcase_bang
 RubyString RubyString.swapcase19(ThreadContext context)
           
 RubyString RubyFixnum.to_s()
           
 RubyString RubyFixnum.to_s(IRubyObject arg0)
           
static RubyString RubyNil.to_s(IRubyObject recv)
          nil_to_s
 RubyString RubyFixnum.to_s(IRubyObject[] args)
          fix_to_s
static RubyString RubyString.unmarshalFrom(UnmarshalStream input)
           
 RubyString RubyString.upcase(ThreadContext context)
          rb_str_upcase / rb_str_upcase_bang
 RubyString RubyString.upcase19(ThreadContext context)
           
 RubyString RubyTime.zone()
           
 

Methods in org.jruby that return types with arguments of type RubyString
protected static java.util.List<RubyString> RubyDir.getContents(java.io.File directory, Ruby runtime)
          Returns the contents of the specified directory as an ArrayList containing the names of the files as Ruby Strings.
 

Methods in org.jruby with parameters of type RubyString
 RubyString RubyString.cat19(RubyString str)
           
 IRubyObject RubyObject.evalUnder(ThreadContext context, RubyModule under, RubyString src, java.lang.String file, int line)
          Evaluates the string src with self set to the current object, using the module under as the context.
static RubyRegexp RubyRegexp.newDRegexp(Ruby runtime, RubyString pattern, int options)
           
static RubyString RubyString.newStringShared(Ruby runtime, RubyString orig)
           
 int RubyString.op_cmp(RubyString other)
          rb_str_cmp
 int RubyString.op_cmp19(RubyString other)
           
 IRubyObject RubyString.op_plus(ThreadContext context, RubyString str)
           
 IRubyObject RubyString.op_plus19(ThreadContext context, RubyString str)
           
 int RubyRegexp.search(ThreadContext context, RubyString str, int pos, boolean reverse)
          rb_reg_search
 int RubyRegexp.search19(ThreadContext context, RubyString str, int pos, boolean reverse)
           
static RubyFloat RubyNumeric.str2fnum(Ruby runtime, RubyString arg)
           
static RubyFloat RubyNumeric.str2fnum(Ruby runtime, RubyString arg, boolean strict)
          Converts a string representation of a floating-point number to the numeric value.
static RubyInteger RubyNumeric.str2inum(Ruby runtime, RubyString str, int base)
           
static RubyInteger RubyNumeric.str2inum(Ruby runtime, RubyString str, int base, boolean strict)
          Converts a string representation of an integer to the integer value.
 

Uses of RubyString in org.jruby.ast
 

Methods in org.jruby.ast that return RubyString
static RubyString DStrNode.buildDynamicString(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock, ListNode list)
           
 

Methods in org.jruby.ast with parameters of type RubyString
static void DStrNode.appendToString(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock, RubyString string, Node node)
           
 

Uses of RubyString in org.jruby.ast.executable
 

Methods in org.jruby.ast.executable that return RubyString
 RubyString AbstractScript.getString(Ruby runtime, int i)
           
 RubyString AbstractScript.RuntimeCache.getString(Ruby runtime, int index)
           
 RubyString AbstractScript.getString0(Ruby runtime)
           
 RubyString AbstractScript.getString1(Ruby runtime)
           
 RubyString AbstractScript.getString2(Ruby runtime)
           
 RubyString AbstractScript.getString3(Ruby runtime)
           
 RubyString AbstractScript.getString4(Ruby runtime)
           
 RubyString AbstractScript.getString5(Ruby runtime)
           
 RubyString AbstractScript.getString6(Ruby runtime)
           
 RubyString AbstractScript.getString7(Ruby runtime)
           
 RubyString AbstractScript.getString8(Ruby runtime)
           
 RubyString AbstractScript.getString9(Ruby runtime)
           
 

Methods in org.jruby.ast.executable with parameters of type RubyString
 RubyRegexp AbstractScript.RuntimeCache.cacheRegexp(int index, RubyString pattern, int options)
           
 

Uses of RubyString in org.jruby.evaluator
 

Methods in org.jruby.evaluator with parameters of type RubyString
static IRubyObject ASTInterpreter.evalSimple(ThreadContext context, IRubyObject self, RubyString src, java.lang.String file, int lineNumber)
          Evaluate the given string.
 

Uses of RubyString in org.jruby.ext.ffi
 

Methods in org.jruby.ext.ffi that return RubyString
static RubyString MemoryUtil.getTaintedByteString(Ruby runtime, MemoryIO io, long offset, int length)
          Reads a byte (binary) string from a memory object.
static RubyString MemoryUtil.newTaintedString(Ruby runtime, byte[] bytes)
          Creates a ruby string from a byte array and sets the taint flag on it
 

Uses of RubyString in org.jruby.javasupport
 

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

Methods in org.jruby.javasupport with parameters of type RubyString
static java.lang.Object JavaUtil.coerceStringToType(RubyString string, java.lang.Class target)
           
 

Uses of RubyString in org.jruby.javasupport.proxy
 

Methods in org.jruby.javasupport.proxy that return RubyString
 RubyString JavaProxyReflectionObject.java_type()
           
 

Uses of RubyString in org.jruby.runtime.builtin
 

Methods in org.jruby.runtime.builtin that return RubyString
 RubyString IRubyObject.asString()
          rb_obj_as_string
 RubyString IRubyObject.convertToString()
           
 

Uses of RubyString in org.jruby.runtime.load
 

Methods in org.jruby.runtime.load that return RubyString
 RubyString LoadService.AlreadyLoaded.getSearchNameString()
           
 

Methods in org.jruby.runtime.load with parameters of type RubyString
protected  void LoadService.addLoadedFeature(RubyString loadNameRubyString)
           
protected  boolean LoadService.featureAlreadyLoaded(RubyString loadNameRubyString)
           
protected  void LoadService.removeLoadedFeature(RubyString loadNameRubyString)
           
 

Constructors in org.jruby.runtime.load with parameters of type RubyString
LoadService.AlreadyLoaded(RubyString searchNameString)
           
 

Uses of RubyString in org.jruby.util
 

Methods in org.jruby.util that return RubyString
static RubyString Pack.pack(Ruby runtime, RubyArray list, org.jruby.util.ByteList 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 Q Unsigned 64-bit number q 64-bit number 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 boolean Sprintf.sprintf(org.jruby.util.ByteList to, RubyString format, IRubyObject args)
           
 



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