Changed Constructors |
String(byte[] )
|
Documentation changed from old to new. |
Constructs a new String by decoding the specified array of bytes using the platform's default charset. |
String(byte[], int)
|
Documentation changed from old to new. |
This method does not properly convert bytes into characters. |
String(byte[], int, int)
|
Documentation changed from old to new. |
Constructs a new String by decoding the specified subarray of bytes using the platform's default charset. |
String(byte[], int, int, int)
|
Documentation changed from old to new. |
This method does not properly convert bytes into characters. |
String(byte[], int, int, String)
|
Documentation changed from old to new. |
Constructs a new String by decoding the specified subarray of bytes using the specified charset. |
String(byte[], String)
|
Documentation changed from old to new. |
Constructs a new String by decoding the specified array of bytes using the specified charset. |
String(String )
|
Documentation changed from old to new. |
Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other words the newly created string is a copy of the argument string. |
Added Methods |
boolean contentEquals(StringBuffer )
|
Returns true if and only if this String represents the same sequence of characters as the specified StringBuffer. |
boolean matches(String )
|
Tells whether or not this string matches the given regular expression. |
String replaceAll(String, String)
|
Replaces each substring of this string that matches the given regular expression with the given replacement. |
String replaceFirst(String, String)
|
Replaces the first substring of this string that matches the given regular expression with the given replacement. |
String[] split(String )
|
Splits this string around matches of the given regular expression. |
String[] split(String, int)
|
Splits this string around matches of the given regular expression. |
CharSequence subSequence(int, int)
|
Returns a new character sequence that is a subsequence of this sequence. |
Changed Methods |
int hashCode()
|
Documentation changed from old to new. |
Returns a hash code for this string. |
String intern()
|
Documentation changed from old to new. |
Returns a canonical representation for the string object. |
String trim()
|
Documentation changed from old to new. |
Returns a copy of the string with leading and trailing whitespace omitted. |
int compareTo(String )
|
Documentation changed from old to new. |
Compares two strings lexicographically. |
String copyValueOf(char[] )
|
Documentation changed from old to new. |
Returns a String that represents the character sequence in the array specified. |
String copyValueOf(char[], int, int)
|
Documentation changed from old to new. |
Returns a String that represents the character sequence in the array specified. |
byte[] getBytes(String )
|
Documentation changed from old to new. |
Encodes this String into a sequence of bytes using the named charset storing the result into a new byte array. |
byte[] getBytes()
|
Documentation changed from old to new. |
Encodes this String into a sequence of bytes using the platform's default charset storing the result into a new byte array. |
void getBytes(int, int, byte[], int)
|
Documentation changed from old to new. |
This method does not properly convert characters into bytes. |
int indexOf(int, int)
|
Documentation changed from old to new. |
Returns the index within this string of the first occurrence of the specified character starting the search at the specified index. |
int indexOf(String, int)
|
Documentation changed from old to new. |
Returns the index within this string of the first occurrence of the specified substring starting at the specified index. |
int lastIndexOf(int, int)
|
Documentation changed from old to new. |
Returns the index within this string of the last occurrence of the specified character searching backward starting at the specified index. |
int lastIndexOf(String, int)
|
Documentation changed from old to new. |
Returns the index within this string of the last occurrence of the specified substring searching backward starting at the specified index. |
boolean regionMatches(int, String, int, int)
|
Documentation changed from old to new. |
Tests if two string regions are equal. |
boolean startsWith(String )
|
Documentation changed from old to new. |
Tests if this string starts with the specified prefix. |
String toLowerCase()
|
Documentation changed from old to new. |
Converts all of the characters in this String to lower case using the rules of the default locale. |
String toLowerCase(Locale )
|
Documentation changed from old to new. |
Converts all of the characters in this String to lower case using the rules of the given Locale . |
String toUpperCase()
|
Documentation changed from old to new. |
Converts all of the characters in this String to upper case using the rules of the default locale. |
String toUpperCase(Locale )
|
Documentation changed from old to new. |
Converts all of the characters in this String to upper case using the rules of the given Locale . |
String valueOf(char )
|
Documentation changed from old to new. |
Returns the string representation of the char argument. |
String valueOf(char[], int, int)
|
Documentation changed from old to new. |
Returns the string representation of a specific subarray of the char array argument. |
String valueOf(double )
|
Documentation changed from old to new. |
Returns the string representation of the double argument. |
String valueOf(float )
|
Documentation changed from old to new. |
Returns the string representation of the float argument. |
String valueOf(int )
|
Documentation changed from old to new. |
Returns the string representation of the int argument. |
String valueOf(long )
|
Documentation changed from old to new. |
Returns the string representation of the long argument. |