public class MarcSplitStreamWriter extends MarcStreamWriter
allowOversizeEntry, encoding, format4Use, format5Use, hasOversizeLength, hasOversizeOffset, out| Constructor and Description |
|---|
MarcSplitStreamWriter(OutputStream out,
int threshold,
String fieldsToSplit)
Creates a MarcSplitStreamWriter with a record threshold and fields to split from the supplied
OutputStream. |
MarcSplitStreamWriter(OutputStream out,
String encoding,
int threshold,
String fieldsToSplit)
Creates a MarcSplitStreamWriter with an encoding, a record threshold, and fields to split from the supplied
OutputStream. |
| Modifier and Type | Method and Description |
|---|---|
void |
write(Record record)
Writes a
Record object to the writer. |
allowsOversizeEntry, close, getConverter, getDataElement, getEntry, setAllowOversizeEntry, setConverter, writeLeaderpublic MarcSplitStreamWriter(OutputStream out, int threshold, String fieldsToSplit)
OutputStream.out - threshold - fieldsToSplit - public MarcSplitStreamWriter(OutputStream out, String encoding, int threshold, String fieldsToSplit)
OutputStream.out - encoding - threshold - fieldsToSplit - public void write(Record record)
Record object to the writer.write in interface MarcWriterwrite in class MarcStreamWriterrecord - - the Record objectCopyright © 2014 FreeLibrary. All Rights Reserved.