ParallelFilteredProcessorRunner.Writer<byte[]>, java.io.Closeable, java.lang.AutoCloseablepublic class ByteWriter extends java.lang.Object implements ParallelFilteredProcessorRunner.Writer<byte[]>
Note that this class does not perform any kind of line termination. It is up to the
ParallelFilteredProcessorRunner.Processor to provide line-terminated streams of bytes, if necessary.
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
static ByteWriter |
getInstance() |
|
void |
write(byte[] b,
long storePosition,
java.io.PrintStream out) |
public static ByteWriter getInstance()
public void write(byte[] b,
long storePosition,
java.io.PrintStream out)
throws java.io.IOException
write in interface ParallelFilteredProcessorRunner.Writer<byte[]>java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOException