public class ImportAdapterExcel extends ImportAdapter
ImportConfigurationExcel
.
The files are accessed using Apache POI.Modifier and Type | Method and Description |
---|---|
int |
getProgress()
Returns the percentage of data that has already been returned
The basis for this calculation is the row currently being accessed.
|
boolean |
hasNext()
Indicates whether there is another element to return
This returns true when the file contains another line, which could be
accessed by
iterator . |
java.lang.String[] |
next()
Returns the next row
The returned element is sorted as defined by
ImportColumn#index and contains as many elements as there are columns selected to import
from ImportAdapter.indexes . |
void |
remove()
Dummy.
|
create, getConfig, getHeader, getLength
public int getProgress()
getProgress
in class ImportAdapter
#currentRow}
,
#totalRows}
public boolean hasNext()
iterator
.public java.lang.String[] next()
ImportColumn#index
and contains as many elements as there are columns selected to import
from ImportAdapter.indexes
. The first row will always contain the names of the
columns. headerReturned
is used to keep track of that.public void remove()