TextWriter.write

Overview | Methods | This Package | All Packages

TextWriter.write

Writes a character to the text stream.

Syntax

public void write( char c_value )

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

public void write( String s_value )

Parameters

c_value

The character to write to the text stream.

buffer

The character array to write data from.

index

The starting index in the buffer.

count

The number of characters to write.

s_value

The string to write.

Exceptions

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

Remarks

Use the second syntax to write count characters of data into this TextWriter object from the buffer character array starting at position index. If the specified string is null, nothing is written to the text stream.

Overrides   Writer.write