eu.etaxonomy.cdm.io.dwca.in
Interface IReader<TYPE>

All Superinterfaces:
IConverterOutput<IReader<TYPE>>
All Known Subinterfaces:
INamespaceReader<TYPE>
All Known Implementing Classes:
ConcatenatingReader, CsvStream, ListReader, LookAheadStream, StreamPartitioner

public interface IReader<TYPE>
extends IConverterOutput<IReader<TYPE>>

Author:
a.mueller

Method Summary
 boolean hasNext()
          Checks the availablity of a next object in the stream.
 TYPE read()
          Returns the next Object of this reader.
 

Method Detail

read

TYPE read()
Returns the next Object of this reader. Returns null if no object is left.

Returns:

hasNext

boolean hasNext()
Checks the availablity of a next object in the stream.

Returns:
True if there is a next object, false otherwise.


Copyright © 2007-2013 EDIT. All Rights Reserved.