com.fasterxml.sort.std
Class RawTextLineWriter
java.lang.Object
com.fasterxml.sort.DataWriter<byte[]>
com.fasterxml.sort.std.RawTextLineWriter
public class RawTextLineWriter
- extends DataWriter<byte[]>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STD_LINEFEED_CR
protected static final byte[] STD_LINEFEED_CR
STD_LINEFEED_LF
protected static final byte[] STD_LINEFEED_LF
STD_LINEFEED_CRLF
protected static final byte[] STD_LINEFEED_CRLF
DEFAULT_LINEFEED
protected static final byte[] DEFAULT_LINEFEED
_out
protected final OutputStream _out
_lf
protected final byte[] _lf
- Linefeed used after entries
_closed
protected boolean _closed
RawTextLineWriter
public RawTextLineWriter(OutputStream out)
RawTextLineWriter
public RawTextLineWriter(OutputStream out,
byte[] linefeed)
factory
public static RawTextLineWriter.Factory factory()
- Convenience method for instantiating factory to create instances of
this
DataWriter.
factory
public static RawTextLineWriter.Factory factory(byte[] linefeed)
- Convenience method for instantiating factory to create instances of
this
DataWriter.
close
public void close()
throws IOException
- Specified by:
close in class DataWriter<byte[]>
- Throws:
IOException
writeEntry
public void writeEntry(byte[] item)
throws IOException
- Specified by:
writeEntry in class DataWriter<byte[]>
- Throws:
IOException
Copyright © 2011. All Rights Reserved.