abstract class AbstractContentOutputStream extends OutputStream
Modifier and Type | Field and Description |
---|---|
static int |
BUFFERSIZE |
private ByteBuffer |
current |
Constructor and Description |
---|
AbstractContentOutputStream() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected abstract void |
doClose() |
protected abstract void |
doFlush(ByteBuffer buf) |
void |
flush() |
void |
write(byte[] buffer) |
void |
write(byte[] buffer,
int offset,
int length) |
void |
write(int b) |
public static final int BUFFERSIZE
private ByteBuffer current
public final void write(int b)
write
in class OutputStream
public final void write(byte[] buffer, int offset, int length)
write
in class OutputStream
public final void write(byte[] buffer)
write
in class OutputStream
public final void flush()
flush
in interface Flushable
flush
in class OutputStream
public final void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
protected abstract void doFlush(ByteBuffer buf)
protected abstract void doClose()
Copyright © 2018. All rights reserved.