com.fasterxml.sort.std
Class RawTextLineWriter.Factory
java.lang.Object
com.fasterxml.sort.DataWriterFactory<byte[]>
com.fasterxml.sort.std.RawTextLineWriter.Factory
- Enclosing class:
- RawTextLineWriter
public static class RawTextLineWriter.Factory
- extends DataWriterFactory<byte[]>
Basic factory implementation. The only noteworthy things are:
- Ability to configure linefeed to use (including none, pass null)
- Writer uses
BufferedOutputStream by default (can be disabled)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_linefeed
protected final byte[] _linefeed
_addBuffering
protected final boolean _addBuffering
RawTextLineWriter.Factory
public RawTextLineWriter.Factory()
RawTextLineWriter.Factory
public RawTextLineWriter.Factory(byte[] linefeed)
RawTextLineWriter.Factory
public RawTextLineWriter.Factory(byte[] linefeed,
boolean addBuffering)
constructWriter
public DataWriter<byte[]> constructWriter(OutputStream out)
- Specified by:
constructWriter in class DataWriterFactory<byte[]>
Copyright © 2011. All Rights Reserved.