Closes this TextWriter object and the underlying IByteStream object.
public void close()
Following a call to close, any operations on the TextWriter object will raise exceptions.
Overrides Writer.close