OutputStreamWriter.write

OutputStreamWriter.write

Class Overview | Class Members | This Package | All Packages

Syntax 1
public void write( int c ) throws IOException
Description
Write a single character.

Exceptions
IOException If an I/O error occurs
Overrides
write in class Writer



Syntax 2
public void write( char cbuf[], int off, int len ) throws IOException
Parameters
cbuf
Buffer of characters
off
Offset from which to start writing characters
len
Number of characters to write
Description
Write a portion of an array of characters.

Exceptions
IOException If an I/O error occurs
Overrides
write in class Writer



Syntax 3
public void write( String str, int off, int len ) throws IOException
Parameters
str
A String
off
Offset from which to start writing characters
len
Number of characters to write
Description
Write a portion of a string.

Exceptions
IOException If an I/O error occurs
Overrides
write in class Writer