public abstract class ArraySource extends AbstractSource
| Constructor and Description |
|---|
ArraySource(String sourceName) |
ArraySource(String sourceName,
boolean initialize) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLineIdentifier()
Returns the line identifier.
|
boolean |
hasNext()
Return true if the data source has more rows.
|
String |
next()
Moves the data source to the next row.
|
String |
reset()
Resets the data source.
|
protected void |
validateState() |
getSourceIdentifierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumns, getData, getData, getData, getData, reset, setData, setDatapublic ArraySource(String sourceName)
public ArraySource(String sourceName, boolean initialize)
protected void validateState()
throws IllegalSourceStateException
IllegalSourceStateExceptionpublic boolean hasNext()
DataSourcepublic String next()
DataSourcepublic String reset()
DataSourcepublic String getLineIdentifier() throws IllegalSourceStateException
DataSourceIllegalSourceStateException - when the method could not be called
due to the state of the source i.e. next() has not been called or this
method is not supported by the data source. when next() has not beenCopyright © 2015. All rights reserved.