public void append( char aChar)
public void append( char str[])
public void append( String aString)
public void append( char str[], int offset, int length)
aChar. The character to append.
aString. The string to append.
str. The characters to append.
offset. The index of the first character to append. If the offset is invalid, this method throws StringIndexOutOfBoundsException
length. The number of characters to append.
public char[] charArray()
public char charAt( int index)
index. The position of the character.
public void ensureCapacity( int newCapacity)
public boolean equals( NASStringBuffer value)
public void getChars( int srcBegin, int srcEnd, char dst[], int dstBegin)
srcBegin. The offset in the source NASStringBuffer at which copying begins.
srcEnd. The offset in the source NASStringBuffer at which copying ends.
dst. The destination array, to which data is copied.
dstBegin. The offset at which copying into the destination array begins.
dstBegin + (srcEnd - srcBegin) - 1
public int indexOf( char aChar, int offset)
public int indexOf( char aChar
aChar. The character whose position you are looking for.
offset. The starting position for searching in the NASStringBuffer.
indexOf(aChar, 0);
public void insert( int index, char aChar)
public void insert( int index, String aString)
public void insert( int offset, char str[])
index. The position in the NASStringBuffer.
aChar. The character to insert.
aString. The string to insert.
str. The character array to insert.
public int length()
public void moveChars( int fromIndex, int toIndex)
fromIndex. Position of the first character to move. The affected characters range from this position to the end of the NASStringBuffer.
toIndex. Position to move the affected characters.
public void removeCharAt( int index)
index. The index of the character to remove.
public void replace( int begin, int end, String value)
begin. The index of the beginning of the range.
end. The index of the end of the range.
value. The string that replaces the range. If null, the range is removed.
public void setCharAt( int index, char ch)
index. The position of the character to set.
ch. The value to set the character to.
public void setLength( int length)
length. Number of characters to remain in the truncated NASStringBuffer. If the specified length is invalid, this method does nothing.
public void setStringValue( String aString)
aString. The string to use as the new contents of NASStringBuffer.
public boolean tabOrSpaceAt( int index)
public String toString()
public void trimToSize()
public void truncateToLength( int aLength)