public abstract class UpdateOutputStream
extends java.io.OutputStream
Constructor and Description |
---|
UpdateOutputStream() |
Modifier and Type | Method and Description |
---|---|
void |
finished()
Finalise the stream signaling no more data to be sent.
|
void |
update(byte b)
Update the stream with the passed in byte.
|
void |
update(byte[] buffer)
Update the stream with the passed in buffer.
|
void |
update(byte[] buffer,
int off,
int len)
Update the stream with a section of the passed in buffer.
|
public final void update(byte b)
b
- the data to be written to the stream.public final void update(byte[] buffer)
buffer
- the data to be written to the stream.public final void update(byte[] buffer, int off, int len)
buffer
- the buffer holding the data to be written.off
- the offset into buffer at which the data starts.len
- the length of the data to be written.public final void finished()