Closes this Writer object and releases any system resources associated with the writer.
public void close()