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)
Stream
errorHandler
argument can be null.public abstract void append(CharBuffer buffer) throws IOException
IOException
public abstract void append(CharSequence csq) throws IOException
IOException
public abstract void append(CharSequence csq, int start, int end) throws IOException
IOException
public abstract void append(ByteBuffer buffer) throws IOException
IOException
public abstract void append(char c) throws IOException
IOException
public abstract void append(byte[] data) throws IOException
IOException
public abstract void append(byte[] data, int off, int len) throws IOException
IOException
Copyright © 2015 eXo Platform SAS. All rights reserved.