public class WriterOutputStream extends OutputStream
WriterOutputStream| Constructor and Description |
|---|
WriterOutputStream(Writer writer)
Deprecated.
|
WriterOutputStream(Writer writer,
String encoding)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
void |
flush()
Deprecated.
|
void |
write(byte[] buf)
Deprecated.
|
void |
write(byte[] buf,
int offset,
int length)
Deprecated.
|
void |
write(int b)
Deprecated.
|
public WriterOutputStream(Writer writer)
writer - a writerpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void write(byte[] buf,
int offset,
int length)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] buf)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2023 Apache Software Foundation. All rights reserved.