beecrypt::lang::String Class Reference
[C++ classes mimicking java.lang]

This class represents Unicode character strings. More...

#include <String.h>

Inheritance diagram for beecrypt::lang::String:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::lang::String:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 String ()
 String (char)
 String (jchar)
 String (const char *)
 String (const jchar *, jint offset, jint length)
 String (const bytearray &)
 String (const array< jchar > &)
 String (const String &copy)
 String (const UnicodeString &copy)
virtual ~String ()
Stringoperator= (const String &copy)
Stringoperator= (const UnicodeString &copy)
virtual jchar charAt (jint index) const throw (IndexOutOfBoundsException)
virtual jint compareTo (const String &str) const throw ()
jint compareToIgnoreCase (const String &str) const throw ()
String concat (const String &str) const throw ()
bool contains (const CharSequence &seq) const throw ()
bool contentEquals (const CharSequence &seq) const throw ()
bool endsWith (const String &suffix) const throw ()
virtual bool equals (const Object *obj) const throw ()
bool equals (const String &str) const throw ()
bool equalsIgnoreCase (const String &str) const throw ()
virtual jint hashCode () const throw ()
jint indexOf (jint ch, jint fromIndex=0) const throw ()
jint indexOf (const String &str, jint fromIndex=0) const throw ()
virtual jint length () const throw ()
bool startsWith (const String &prefix, jint offset=0) const throw ()
virtual CharSequencesubSequence (jint beginIndex, jint endIndex) const throw (IndexOutOfBoundsException)
String substring (jint beginIndex) const throw (IndexOutOfBoundsException)
String substring (jint beginIndex, jint endIndex) const throw (IndexOutOfBoundsException)
String toLowerCase () const throw ()
String toUpperCase () const throw ()
const array< jchar > & toCharArray () const throw ()
virtual String toString () const throw ()
UnicodeString toUnicodeString () const throw ()

Static Public Member Functions

static String valueOf (bool b)
static String valueOf (jchar c)
static String valueOf (jint i)
static String valueOf (jlong l)

Friends

class Character
class StringBuffer
class StringBuilder


Detailed Description

This class represents Unicode character strings.

Constructor & Destructor Documentation

beecrypt::lang::String::String (  ) 

beecrypt::lang::String::String ( char   ) 

beecrypt::lang::String::String ( jchar   ) 

beecrypt::lang::String::String ( const char *   ) 

beecrypt::lang::String::String ( const jchar *  ,
jint  offset,
jint  length 
)

beecrypt::lang::String::String ( const bytearray &   ) 

beecrypt::lang::String::String ( const array< jchar > &   ) 

beecrypt::lang::String::String ( const String copy  ) 

beecrypt::lang::String::String ( const UnicodeString &  copy  ) 

virtual beecrypt::lang::String::~String (  )  [inline, virtual]


Member Function Documentation

virtual jchar beecrypt::lang::String::charAt ( jint  index  )  const throw (IndexOutOfBoundsException) [virtual]

virtual jint beecrypt::lang::String::compareTo ( const String str  )  const throw () [virtual]

jint beecrypt::lang::String::compareToIgnoreCase ( const String str  )  const throw ()

String beecrypt::lang::String::concat ( const String str  )  const throw ()

bool beecrypt::lang::String::contains ( const CharSequence seq  )  const throw ()

bool beecrypt::lang::String::contentEquals ( const CharSequence seq  )  const throw ()

bool beecrypt::lang::String::endsWith ( const String suffix  )  const throw ()

bool beecrypt::lang::String::equals ( const String str  )  const throw ()

virtual bool beecrypt::lang::String::equals ( const Object obj  )  const throw () [virtual]

Reimplemented from beecrypt::lang::Object.

bool beecrypt::lang::String::equalsIgnoreCase ( const String str  )  const throw ()

virtual jint beecrypt::lang::String::hashCode (  )  const throw () [virtual]

Reimplemented from beecrypt::lang::Object.

jint beecrypt::lang::String::indexOf ( const String str,
jint  fromIndex = 0 
) const throw ()

jint beecrypt::lang::String::indexOf ( jint  ch,
jint  fromIndex = 0 
) const throw ()

virtual jint beecrypt::lang::String::length (  )  const throw () [virtual]

String& beecrypt::lang::String::operator= ( const UnicodeString &  copy  ) 

String& beecrypt::lang::String::operator= ( const String copy  ) 

bool beecrypt::lang::String::startsWith ( const String prefix,
jint  offset = 0 
) const throw ()

virtual CharSequence* beecrypt::lang::String::subSequence ( jint  beginIndex,
jint  endIndex 
) const throw (IndexOutOfBoundsException) [virtual]

String beecrypt::lang::String::substring ( jint  beginIndex,
jint  endIndex 
) const throw (IndexOutOfBoundsException)

String beecrypt::lang::String::substring ( jint  beginIndex  )  const throw (IndexOutOfBoundsException)

const array<jchar>& beecrypt::lang::String::toCharArray (  )  const throw ()

String beecrypt::lang::String::toLowerCase (  )  const throw ()

virtual String beecrypt::lang::String::toString (  )  const throw () [virtual]

UnicodeString beecrypt::lang::String::toUnicodeString (  )  const throw ()

String beecrypt::lang::String::toUpperCase (  )  const throw ()

static String beecrypt::lang::String::valueOf ( jlong  l  )  [static]

static String beecrypt::lang::String::valueOf ( jint  i  )  [static]

static String beecrypt::lang::String::valueOf ( jchar  c  )  [static]

static String beecrypt::lang::String::valueOf ( bool  b  )  [static]


Friends And Related Function Documentation

friend class Character [friend]

friend class StringBuffer [friend]

friend class StringBuilder [friend]


The documentation for this class was generated from the following file:

Generated on Fri Jun 19 13:39:42 2009 for BeeCrypt C++ by  doxygen 1.5.8