public void write (String str) throws IOException

Writes a string.

Parameters:
str     String to be written

Exceptions:
IOException     If an I/O error occurs