latest developments in DwcA import
[cdmlib.git] / cdmlib-io / src / main / java / eu / etaxonomy / cdm / io / dwca / in / IReader.java
1 // $Id$
2 /**
3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.cdm.io.dwca.in;
11
12
13 /**
14 * @author a.mueller
15 * @date 23.11.2011
16 *
17 */
18 public interface IReader<TYPE extends Object> extends IConverterOutput<IReader<TYPE>>{
19
20 /**
21 * Returns the next Object of this reader.
22 * Returns <code>null</code> if no object is left.
23 * @return
24 */
25 public TYPE read();
26
27 /**
28 * Checks the availablity of a next object in the stream.
29 * @return True if there is a next object, false otherwise.
30 */
31 boolean hasNext();
32
33
34 }