Class java.lang.String (1.0)


public final class String extends Object implements Serializable {
  // Public Constructors
    public String( );
    public String(String value);
    public String(char[ ] value);
    public String(char[ ] value, int offset, int count) throws StringIndexOutOfBoundsException;
    public String(byte[ ] ascii, int hibyte, int offset, int count) throws StringIndexOutOfBoundsException;  // Deprecated
    public String(byte[ ] ascii, int hibyte);  // Deprecated
    public String(byte[ ] bytes, int offset, int length, ByteToCharConverter btc);
    public String(byte[ ] bytes, ByteToCharConverter btc);
    public String(byte[ ] bytes, int offset, int length);
    public String(byte[ ] bytes);
    public String(StringBuffer buffer);
  // Class Methods
    public static String copyValueOf(char[ ] data, int offset, int count);
    public static String copyValueOf(char[ ] data);
    public static String valueOf(Object obj);
    public static String valueOf(char[ ] data);
    public static String valueOf(char[ ] data, int offset, int count);
    public static String valueOf(boolean b);
    public static String valueOf(char c);
    public static String valueOf(int i);
    public static String valueOf(long l);
    public static String valueOf(float f);
    public static String valueOf(double d);
  // Public Instance Methods
    public char charAt(int index) throws StringIndexOutOfBoundsException;
    public int compareTo(String anotherString);
    public String concat(String str);
    public boolean endsWith(String suffix);
    public boolean equals(Object anObject);  // Overrides Object.equals( )
    public boolean equalsIgnoreCase(String anotherString);
    public void getBytes(int srcBegin, int srcEnd, byte[ ] dst, int dstBegin) throws StringIndexOutOfBoundsException;  // Deprecated
    public byte[ ] getBytes(CharToByteConverter ctb);
    public byte[ ] getBytes( );
    public void getChars(int srcBegin, int srcEnd, char[ ] dst, int dstBegin) throws StringIndexOutOfBoundsException;
    public int hashCode( );  // Overrides Object.hashCode( )
    public int indexOf(int ch);
    public int indexOf(int ch, int fromIndex);
    public int indexOf(String str);
    public int indexOf(String str, int fromIndex);
    public String intern( );
    public int lastIndexOf(int ch);
    public int lastIndexOf(int ch, int fromIndex);
    public int lastIndexOf(String str);
    public int lastIndexOf(String str, int fromIndex);
    public int length( );
    public boolean regionMatches(int toffset, String other, int ooffset, int len);
    public boolean regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len);
    public String replace(char oldChar, char newChar);
    public boolean startsWith(String prefix, int toffset);
    public boolean startsWith(String prefix);
    public String substring(int beginIndex);
    public String substring(int beginIndex, int endIndex) throws StringIndexOutOfBoundsException;
    public char[ ] toCharArray( );
    public String toLowerCase(Locale locale);
    public String toLowerCase( );
    public String toString( );  // Overrides Object.toString( )
    public String toUpperCase(Locale locale);
    public String toUpperCase( );
    public String trim( );
}