1 |
/* StringWriter.java -- Writes bytes to a StringBuffer |
/* StringWriter.java -- Writes bytes to a StringBuffer |
2 |
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
61 |
* This method closes the stream. The contents of the internal buffer |
* This method closes the stream. The contents of the internal buffer |
62 |
* can still be retrieved, but future writes are not guaranteed to work. |
* can still be retrieved, but future writes are not guaranteed to work. |
63 |
*/ |
*/ |
64 |
public void close () |
public void close () throws IOException |
65 |
{ |
{ |
66 |
// JCL says this does nothing. This seems to violate the Writer |
// JCL says this does nothing. This seems to violate the Writer |
67 |
// contract, in that other methods should still throw an |
// contract, in that other methods should still throw an |