Package java.lang
Class StringBuffer
void setLength(int newLength)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Sets the length of the character sequence. If the newLength argument is greater than the current length, null characters are appended. If the newLength argument is less than the current length of the string buffer, the string buffer is truncated.