public abstract class OutputStreamRecordWriter extends Object implements Closeable
| Constructor and Description |
|---|
OutputStreamRecordWriter(OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(RecordFilter inputStreamFilter) |
void |
close() |
protected void |
write(byte[] bytes) |
protected void |
write(byte[] bytes,
int offset,
int length) |
protected void |
write(ByteArray byteArray) |
protected void |
write(ByteArray byteArray,
int offset,
int length) |
void |
write(Record record) |
protected abstract void |
writeRecord(Record record) |
public OutputStreamRecordWriter(OutputStream os)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void write(Record record) throws IOException
IOExceptionprotected final void write(ByteArray byteArray) throws IOException
IOExceptionprotected final void write(ByteArray byteArray, int offset, int length) throws IOException
IOExceptionprotected final void write(byte[] bytes)
throws IOException
IOExceptionprotected final void write(byte[] bytes,
int offset,
int length)
throws IOException
IOExceptionpublic void addFilter(RecordFilter inputStreamFilter)
protected abstract void writeRecord(Record record) throws IOException
IOExceptionCopyright © 2009–2016 The Last Check, LLC. All rights reserved.