Uses of Class
com.javaranch.common.Str

Packages that use Str
com.javaranch.common   
 

Uses of Str in com.javaranch.common
 

Methods in com.javaranch.common that return Str
 Str Str.get(int index, int length)
          Retrieve a copy of a substring.
 Str Str.subString(int index, int length)
          Provided for compatibility with String and StringBuffer and the case mixing many people expect.
 Str Str.substring(int index, int length)
          Provided for compatibility with String and StringBuffer and the case mixing Sun provides.
 Str Str.before(int index)
          Get all of the substring that occurs before a particular character.
 Str Str.through(int index)
          Get all of the substring that occurs through a particular character.
 Str Str.after(int index)
          Get all of the substring that occurs after a particular character.
 Str Str.from(int index)
          Get all of the substring that occurs from a particular character to the end of the string.
 Str Str.extractWord()
          Extract and return the first word.
static Str Str.verboseMoney(double x)
          Convert a double to English ( 12.01 -> "twelve and 01/100" ).
static Str Str.stringOf(int quan, char c)
          Create a Str object containing nothing but a quantity of one character.
static Str Str.spaces(int quan)
          Create a Str object containing nothing but a quantity of spaces.
 

Methods in com.javaranch.common with parameters of type Str
 void Str.set(Str s)
          Force the contents of this object to be the same as another Str object.
 int Str.compareTo(Str s)
          A string comparison method that returns a numeric result.
 boolean Str.eq(Str s)
          Test for equality between your string and the string in s.
 boolean Str.ne(Str s)
          Test for "not equal" between your string and the string in s.
 boolean Str.lt(Str s)
          Test for "less than" between your string and the string in s.
 boolean Str.le(Str s)
          Test for "less than or equal to" between your string and the string in s.
 boolean Str.ge(Str s)
          Test for "greater than or equal to" between your string and the string in s.
 boolean Str.gt(Str s)
          Test for "greater than" between your string and the string in s.
 void Str.append(Str s)
          Append a string on to the end of your string.
 void Str.insert(Str s, int index)
          Insert a Str object immediately before a particular character.
 

Constructors in com.javaranch.common with parameters of type Str
Str(Str s)
          A new object is created that is an exact copy of the provided Str object.
 



Copyright ©2004 Paul Wheaton All Rights Reserved