void ensureCapacity(int capacity); To pre-allocate room for a certain no. of characters after a stringBuffer has been constructed, you can use ensure capacity to set the size of the buffer.
void setLength(int length); Sets the length of the buffer after the StringBuffer object has been constructed.
char charAt(int where); Returns the character at a specified position.
void setCharAt(int where, char ch); It will set the given character at a given position.
void getChars(int sourcesstart, int sourceend, char target[], int targetstart); Constructors a character array from a stringbuffer object.
StringBuffer reverse(); Reverse the characters with in a StringBuffer object.
StringBuffer delete( int startindex, int endindex); It will delete the starting position to the ending position.
StringBuffer deleteCharAt(int location); It will delete a character at a perticular location.
StringBuffer replace(int startindex, int endindex, String str); Replaces one set of characters with another set inside StringBuffer object.