Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
Signed-off-by: Hakan Ozler <ozler.hakan@gmail.com>
  • Loading branch information
ozlerhakan committed Oct 25, 2020
1 parent 044bdd5 commit 53a2418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ List<Employee> employees = Poiji.fromExcel(stream, PoijiExcelType.XLS, Employee.
employees.size();
// 3
Employee firstEmployee = employees.get(0);
// Employee{rowIndex=1, employeeId=123923, name='Joe', surname='Doe', age=30, single=TRUE, emails=[joe@doe.com, joedoe@gmail.com], biils=[123,10, 99.99]}
// Employee{rowIndex=1, employeeId=123923, name='Joe', surname='Doe', age=30, single=true, emails=[joe@doe.com, joedoe@gmail.com], biils=[123,10, 99.99]}
----
<1> By default the delimiter/separator is `,` to split items in a cell. There is an option to change this behavior. Since we use `;` between items, we need to tell Poiji to use `;` as a separator.

Expand Down Expand Up @@ -814,7 +814,7 @@ Poiji accepts excel records via Poi Sheet object as well:

[source,java]
----
File file = new File("/temp/file.xlsx");
File file = new File("/tmp/file.xlsx");
FileInputStream fileInputStream = new FileInputStream(file);
Workbook workbook = new XSSFWorkbook(fileInputStream);
Sheet sheet = workbook.getSheetAt(0);
Expand Down

0 comments on commit 53a2418

Please sign in to comment.