StringWriter.write

Overview | Methods | This Package | All Packages

StringWriter.write

Writes a character to the underlying string buffer.

Syntax

public void write( char value )

public void write( char[] buffer, int index, int count )

public void write( String value )

Parameters

value

The character or string to write. If null, nothing is written.

buffer

The character array to write data from.

index

The starting index in the buffer.

count

The number of characters to write.

Exceptions

WFCInvalidArgumentException thrown if the buffer is null, the index is out of bounds, or the count is out of bounds.

Remarks

The second method syntax writes count characters of data into this StringWriter from the buffer character array starting at position index.

Overrides   Writer.write