com.agimatec.utility.fileimport
Interface LineReader<Line>

All Known Implementing Classes:
ExcelRowReader, StringLineReader

public interface LineReader<Line>

Description: Interface of a reader used by LineImporterSpec to read from a reader or stream record-by-record (line-by-line)
User: roman.stumm
Date: 11.06.2008
Time: 17:42:47
Copyright: Agimatec GmbH


Method Summary
 void close()
           
 Line readLine()
           
 void setReader(Reader aReader)
           
 void setStream(InputStream aReader)
           
 

Method Detail

setReader

void setReader(Reader aReader)
               throws IOException
Throws:
IOException

setStream

void setStream(InputStream aReader)
               throws IOException
Throws:
IOException

readLine

Line readLine()
              throws IOException
Returns:
the next line or null if no more lines available.
Throws:
IOException

close

void close()
           throws IOException
Throws:
IOException


Copyright © 2008-2011. All Rights Reserved.