Duplicate :
|
After you close a StringWriter or CharArrayWriter, you can still call their I/O methods. According to the developer, the only operations that should be allowed after these are closed are getBuffer and toString. Otherwise, we should see an IOException.
|