| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE
.
|
| Constructor and Description |
|---|
OutputStream() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
append(byte[] data) |
abstract void |
append(byte[] data,
int off,
int len) |
abstract void |
append(ByteBuffer buffer) |
abstract void |
append(char c) |
abstract void |
append(CharBuffer buffer) |
abstract void |
append(CharSequence csq) |
abstract void |
append(CharSequence csq,
int start,
int end) |
void |
close(Thread.UncaughtExceptionHandler errorHandler)
Signal the work is done, the caller can be aware of error that were not caught.
|
static juzu.impl.io.SinkStream |
create() |
static OutputStream |
create(Charset charset,
Appendable out) |
static OutputStream |
create(Charset charset,
Appendable out,
Flushable flushable,
Closeable closeable) |
static OutputStream |
create(Charset charset,
OutputStream out) |
void |
provide(Chunk chunk)
Provide a chunk.
|
public static final int BUFFER_SIZE
public static OutputStream create(Charset charset, Appendable out)
public static OutputStream create(Charset charset, Appendable out, Flushable flushable, Closeable closeable)
public static OutputStream create(Charset charset, OutputStream out)
public static juzu.impl.io.SinkStream create()
public void close(Thread.UncaughtExceptionHandler errorHandler)
StreamerrorHandler
argument can be null.public abstract void append(CharBuffer buffer) throws IOException
IOExceptionpublic abstract void append(CharSequence csq) throws IOException
IOExceptionpublic abstract void append(CharSequence csq, int start, int end) throws IOException
IOExceptionpublic abstract void append(ByteBuffer buffer) throws IOException
IOExceptionpublic abstract void append(char c)
throws IOException
IOExceptionpublic abstract void append(byte[] data)
throws IOException
IOExceptionpublic abstract void append(byte[] data,
int off,
int len)
throws IOException
IOExceptionCopyright © 2016 eXo Platform SAS. All rights reserved.