org.marc4j
Interface MarcReader

All Known Implementing Classes:
MarcDirStreamReader, MarcPermissiveStreamReader, MarcStreamReader, MarcXmlReader

public interface MarcReader

Implement this interface to provide an iterator over a collection of Record objects.

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

Version:
$Revision: 1.19 $
Author:
Bas Peters

Method Summary
 boolean hasNext()
          Returns true if the iteration has more records, false otherwise.
 Record next()
          Returns the next record in the iteration.
 

Method Detail

hasNext

boolean hasNext()
Returns true if the iteration has more records, false otherwise.


next

Record next()
Returns the next record in the iteration.

Returns:
Record - the record object


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