public class OutputStreamWriterCancelable extends java.io.OutputStreamWriter implements StreamCancelable
OutputStreamWriter to implements StreamCancelable. This writer doesn't close the writer when
StreamCancelable.cancel() is called.| Constructor and Description |
|---|
OutputStreamWriterCancelable(java.io.OutputStream out,
java.nio.charset.Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
public OutputStreamWriterCancelable(java.io.OutputStream out,
java.nio.charset.Charset charset)
public void cancel()
cancel in interface StreamCancelablepublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamWriterjava.io.IOExceptionCopyright © 2019. All Rights Reserved.