public class CsvStream extends ObservableBase implements IIoObservable, IItemStream
Constructor and Description |
---|
CsvStream(au.com.bytecode.opencsv.CSVReader csvReader,
ArchiveEntryBase archiveEntry,
int startLine) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getItemLocation()
Returns the location of the current item in the original source.
|
int |
getLine() |
java.lang.String |
getStreamLocation()
Returns the location of the complete stream the original source.
|
TermUri |
getTerm()
Returns the
TermUri of this stream. |
boolean |
hasNext()
Checks the availablity of a next object in the stream.
|
StreamItem |
read()
Returns the next Object of this reader.
|
java.lang.String |
toString() |
addObserver, addObservers, countObservers, fire, fireWarningEvent, fireWarningEvent, getObservers, removeObserver, removeObservers, setObservers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addObserver, addObservers, countObservers, getObservers, removeObserver, removeObservers
addObservers
public CsvStream(au.com.bytecode.opencsv.CSVReader csvReader, ArchiveEntryBase archiveEntry, int startLine)
public boolean hasNext()
IReader
hasNext
in interface IReader<StreamItem>
public StreamItem read()
IReader
null
if no object is left.read
in interface IReader<StreamItem>
public java.lang.String getItemLocation()
IItemStream
IItemStream.getStreamLocation()
getItemLocation
in interface IItemStream
public int getLine()
public TermUri getTerm()
IItemStream
TermUri
of this stream.getTerm
in interface IItemStream
getTerm
in interface INamespace
public java.lang.String getStreamLocation()
IItemStream
getStreamLocation
in interface IItemStream
IItemStream.getItemLocation()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 EDIT. All Rights Reserved.