public class ManOutputStreamExt extends Object
| Constructor and Description |
|---|
ManOutputStreamExt() |
| Modifier and Type | Method and Description |
|---|---|
static BufferedOutputStream |
buffered(OutputStream thiz)
Creates a buffered output stream wrapping this stream.
|
static BufferedOutputStream |
buffered(OutputStream thiz,
int bufferSize)
Creates a buffered output stream wrapping this stream.
|
static BufferedWriter |
bufferedWriter(OutputStream thiz)
Creates a buffered writer on this output stream using UTF-8 or the specified
charset. |
static BufferedWriter |
bufferedWriter(OutputStream thiz,
Charset charset) |
static OutputStreamWriter |
writer(OutputStream thiz)
Creates a writer on this output stream using UTF-8 or the specified
charset. |
static OutputStreamWriter |
writer(OutputStream thiz,
Charset charset) |
public static BufferedOutputStream buffered(OutputStream thiz)
public static BufferedOutputStream buffered(OutputStream thiz, int bufferSize)
bufferSize - the buffer size to use.public static OutputStreamWriter writer(OutputStream thiz)
charset.public static OutputStreamWriter writer(OutputStream thiz, Charset charset)
public static BufferedWriter bufferedWriter(OutputStream thiz)
charset.public static BufferedWriter bufferedWriter(OutputStream thiz, Charset charset)
Copyright © 2020. All rights reserved.