com.fasterxml.sort.std
Class RawTextLineWriter.Factory

java.lang.Object
  extended by com.fasterxml.sort.DataWriterFactory<byte[]>
      extended by 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:


Field Summary
protected  boolean _addBuffering
           
protected  byte[] _linefeed
           
 
Constructor Summary
RawTextLineWriter.Factory()
           
RawTextLineWriter.Factory(byte[] linefeed)
           
RawTextLineWriter.Factory(byte[] linefeed, boolean addBuffering)
           
 
Method Summary
 DataWriter<byte[]> constructWriter(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_linefeed

protected final byte[] _linefeed

_addBuffering

protected final boolean _addBuffering
Constructor Detail

RawTextLineWriter.Factory

public RawTextLineWriter.Factory()

RawTextLineWriter.Factory

public RawTextLineWriter.Factory(byte[] linefeed)

RawTextLineWriter.Factory

public RawTextLineWriter.Factory(byte[] linefeed,
                                 boolean addBuffering)
Method Detail

constructWriter

public DataWriter<byte[]> constructWriter(OutputStream out)
Specified by:
constructWriter in class DataWriterFactory<byte[]>


Copyright © 2011. All Rights Reserved.