Uses of Class
org.jruby.RubyString

Packages that use RubyString
org.jruby   
org.jruby.ast   
org.jruby.ast.executable   
org.jruby.cext   
org.jruby.embed.internal   
org.jruby.evaluator   
org.jruby.ext.ffi   
org.jruby.ext.zlib   
org.jruby.internal.runtime.methods   
org.jruby.javasupport   
org.jruby.javasupport.proxy   
org.jruby.javasupport.util   
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()
           
static RubyString BasicObjectStub.asString(IRubyObject self)
           
 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.cat(RubyString str)
           
 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()
           
static RubyString BasicObjectStub.convertToString(IRubyObject self)
           
 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.makeShared(Ruby runtime, RubyClass meta, int index, int len)
           
 RubyString RubyString.makeShared19(Ruby runtime, int index, int len)
           
 RubyString RubyString.makeSharedString(Ruby runtime, int index, int len)
           
 RubyString RubyString.makeSharedString19(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
static RubyString 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 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, org.jruby.util.ByteList bytes, org.jcodings.Encoding encoding)
           
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.newStringLight(Ruby runtime, int size, org.jcodings.Encoding encoding)
           
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, org.jruby.util.ByteList bytes, org.jcodings.Encoding encoding)
           
static RubyString RubyString.newStringShared(Ruby runtime, org.jruby.util.ByteList bytes, int codeRange)
           
static RubyString RubyString.newStringShared(Ruby runtime, RubyClass clazz, org.jruby.util.ByteList bytes)
           
static RubyString RubyString.newStringShared(Ruby runtime, RubyClass clazz, org.jruby.util.ByteList bytes, org.jcodings.Encoding encoding)
           
static RubyString RubyString.newStringShared(Ruby runtime, RubyString orig)
           
static RubyString RubyString.newUnicodeString(Ruby runtime, java.lang.CharSequence str)
           
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 RubyArray.pack19(ThreadContext context, IRubyObject obj)
           
static RubyString RubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject[] strings, RegexpOptions options)
           
static RubyString RubyRegexp.quote(ThreadContext context, IRubyObject recv, IRubyObject[] args)
          rb_reg_s_quote
protected  RubyString RubyIO.readAll()
           
protected  RubyString RubyIO.readAll(RubyString str)
           
 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.cat(RubyString str)
           
 RubyString RubyString.cat19(RubyString str)
           
 IRubyObject RubyBasicObject.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 void RubyIO.failIfDirectory(Ruby runtime, RubyString pathStr)
           
static RubyRegexp RubyRegexp.newDRegexp(Ruby runtime, RubyString pattern, int joniOptions)
           
static RubyRegexp RubyRegexp.newDRegexp(Ruby runtime, RubyString pattern, RegexpOptions options)
           
static RubyRegexp RubyRegexp.newDRegexpEmbedded(Ruby runtime, RubyString pattern, int embeddedOptions)
           
static RubyString RubyString.newStringShared(Ruby runtime, RubyString orig)
           
protected  void RubyHash.op_asetForString(Ruby runtime, RubyString key, IRubyObject value)
           
 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)
           
protected  RubyString RubyIO.readAll(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 RubyFloat RubyNumeric.str2fnum19(Ruby runtime, RubyString arg, boolean strict)
           
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
protected  RubyString DNode.allocateString(Ruby runtime)
           
 RubyString DNode.buildDynamicString(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
           
 RubyString DRegexpNode.getString(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock, RubyString string, Node node)
           
 

Methods in org.jruby.ast with parameters of type RubyString
 void DNode.appendToString(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock, RubyString string, Node node)
           
 RubyString DRegexpNode.getString(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, int codeRange)
           
 RubyString RuntimeCache.getString(Ruby runtime, int index, int codeRange)
           
 RubyString AbstractScript.getString0(Ruby runtime, int codeRange)
           
 RubyString AbstractScript.getString1(Ruby runtime, int codeRange)
           
 RubyString AbstractScript.getString2(Ruby runtime, int codeRange)
           
 RubyString AbstractScript.getString3(Ruby runtime, int codeRange)
           
 RubyString AbstractScript.getString4(Ruby runtime, int codeRange)
           
 RubyString AbstractScript.getString5(Ruby runtime, int codeRange)
           
 RubyString AbstractScript.getString6(Ruby runtime, int codeRange)
           
 RubyString AbstractScript.getString7(Ruby runtime, int codeRange)
           
 RubyString AbstractScript.getString8(Ruby runtime, int codeRange)
           
 RubyString AbstractScript.getString9(Ruby runtime, int codeRange)
           
 

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

Uses of RubyString in org.jruby.cext
 

Methods in org.jruby.cext with parameters of type RubyString
static long JRuby.getRString(RubyString str)
           
 

Uses of RubyString in org.jruby.embed.internal
 

Methods in org.jruby.embed.internal that return RubyString
 RubyString EmbedRubyObjectAdapterImpl.convertToRubyString(IRubyObject obj)
           
 

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.ext.zlib
 

Fields in org.jruby.ext.zlib declared as RubyString
protected  RubyString RubyZlib.RubyGzipFile.nullFreeComment
           
protected  RubyString RubyZlib.RubyGzipFile.nullFreeOrigName
           
 

Methods in org.jruby.ext.zlib that return RubyString
protected  RubyString RubyZlib.RubyGzipFile.newStr(Ruby runtime, org.jruby.util.ByteList value)
           
 

Uses of RubyString in org.jruby.internal.runtime.methods
 

Constructors in org.jruby.internal.runtime.methods with parameters of type RubyString
MethodMissingMethod(RubyModule implementationClass, RubyString name)
           
 

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)
          Deprecated. 
 

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.javasupport.util
 

Methods in org.jruby.javasupport.util that return RubyString
static RubyString RuntimeHelpers.appendAsString(RubyString target, IRubyObject other)
           
static RubyString RuntimeHelpers.appendAsString19(RubyString target, IRubyObject other)
           
 

Methods in org.jruby.javasupport.util with parameters of type RubyString
static RubyString RuntimeHelpers.appendAsString(RubyString target, IRubyObject other)
           
static RubyString RuntimeHelpers.appendAsString19(RubyString target, IRubyObject other)
           
 

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)
          Same as pack(Ruby, RubyArray, ByteList) but defaults tainting of output to false.
static RubyString Pack.pack(Ruby runtime, RubyArray list, org.jruby.util.ByteList formatString, boolean taint)
          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).
static RubyString Pack.pack19(ThreadContext context, Ruby runtime, RubyArray list, RubyString formatString)
           
 

Methods in org.jruby.util with parameters of type RubyString
static RubyString Pack.pack19(ThreadContext context, Ruby runtime, RubyArray list, RubyString formatString)
           
static boolean Sprintf.sprintf(org.jruby.util.ByteList to, RubyString format, IRubyObject args)
           
 



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