public class OutputStreamWriterCancelable extends OutputStreamWriter implements StreamCancelable
OutputStreamWriter to implements StreamCancelable. This writer doesn't close the writer when
StreamCancelable.cancel() is called.| Constructor and Description |
|---|
OutputStreamWriterCancelable(OutputStream out,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
flush, getEncoding, write, write, writepublic OutputStreamWriterCancelable(OutputStream out, Charset charset)
public void cancel()
cancel in interface StreamCancelablepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamWriterIOExceptionCopyright © 2015. All Rights Reserved.