org.marc4j
Interface MarcWriter

All Known Implementing Classes:
MarcStreamWriter, MarcXmlWriter

public interface MarcWriter

Implement this interface to provide a writer for Record objects.

See the org.marc4j.marc package Javadoc for more information about the Record object model.

Version:
$Revision: 1.2 $
Author:
Bas Peters

Method Summary
 void close()
          Closes the writer.
 CharConverter getConverter()
          Returns the character converter.
 void setConverter(CharConverter converter)
          Sets the character converter.
 void write(Record record)
          Writes a single Record to the output stream.
 

Method Detail

write

void write(Record record)
Writes a single Record to the output stream.

Parameters:
record - the Record object

setConverter

void setConverter(CharConverter converter)
Sets the character converter.

Parameters:
converter - the character converter

getConverter

CharConverter getConverter()
Returns the character converter.

Returns:
CharConverter the character converter

close

void close()
Closes the writer.



Copyright © 2002-2006 Bas Peters. All Rights Reserved.