public class MarcSplitStreamWriter extends MarcStreamWriter
allowOversizeEntry, encoding, format4Use, format5Use, hasOversizeLength, hasOversizeOffset, out| Constructor and Description |
|---|
MarcSplitStreamWriter(OutputStream out,
int threshold,
String fieldsToSplit)
Creates a split stream writer from the supplied
OutputStream using the supplied threshold and fields to
split. |
MarcSplitStreamWriter(OutputStream out,
String encoding,
int threshold,
String fieldsToSplit)
Creates a split stream writer from the supplied
OutputStream using the supplied encoding, threshold, and
fields to split. |
| 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 using the supplied threshold and fields to
split.out - threshhold - fieldsToSplit - public MarcSplitStreamWriter(OutputStream out, String encoding, int threshold, String fieldsToSplit)
OutputStream using the supplied encoding, threshold, and
fields to split.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.