polish
Remove javadoc reference to JExcelAPI. Removed unused private method.
This commit is contained in:
committed by
Michael Minella
parent
3cfa84fc58
commit
080f1a8318
@@ -29,8 +29,8 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
* {@link org.springframework.batch.item.ItemReader} implementation which uses the JExcelApi to read an Excel
|
||||
* file. It will read the file sheet for sheet and row for row. It is based on
|
||||
* {@link org.springframework.batch.item.ItemReader} implementation to read an Excel
|
||||
* file. It will read the file sheet for sheet and row for row. It is loosy based on
|
||||
* the {@link org.springframework.batch.item.file.FlatFileItemReader}
|
||||
*
|
||||
* @param <T> the type
|
||||
@@ -114,14 +114,6 @@ public abstract class AbstractExcelItemReader<T> extends AbstractItemCountingIte
|
||||
}
|
||||
}
|
||||
|
||||
private String[] readRow(final Sheet sheet) {
|
||||
this.currentRow++;
|
||||
if (this.currentRow < sheet.getNumberOfRows()) {
|
||||
return sheet.getRow(this.currentRow);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private void openSheet() {
|
||||
final Sheet sheet = this.getSheet(this.currentSheet);
|
||||
this.rs =rowSetFactory.create(sheet);
|
||||
|
||||
Reference in New Issue
Block a user