This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CreateContainer { | |
public static void main(String[] args) throws IOException { | |
FileInputStream in = new FileInputStream("C:/temp/SampleData.xls"); | |
POIFSFileSystem fileSystem = new POIFSFileSystem(in); | |
HSSFWorkbook workBook = new HSSFWorkbook(fileSystem); | |
HSSFSheet sheet = workBook.getSheetAt(0); | |
List<String> propertyNames = Collections.emptyList(); | |
IndexedContainer c = new IndexedContainer(); | |
for (Row row : sheet) { | |
int rowIndex = row.getRowNum(); |
NewerOlder