Comments (3)
Thank you for contributing to Poiji! Feel free to create a PR If you want to contribute directly :)
from poiji.
Hi @venkateshhvp ,
This is the way how we can retrieve rows from an excel file:
PoijiOptions options = PoijiOptions.PoijiOptionsBuilder.settings()
.addListDelimiter(";") (1)
.build();
List<Employee> employees = Poiji.fromExcel(new File("employees.xls"), Employee.class, options);
// alternatively
InputStream stream = new FileInputStream(new File("employees.xls"))
List<Employee> employees = Poiji.fromExcel(stream, PoijiExcelType.XLS, Employee.class, options);
employees.size();
// 3
Employee firstEmployee = employees.get(0);
// Employee{rowIndex=1, employeeId=123923, name='Joe', surname='Doe', age=30, single=true, emails=[[email protected], [email protected]], biils=[123,10, 99.99]}
from poiji.
Hi @ozlerhakan,my output is different than what you showed. Please check and confirm if anything is wrong from my side.
I tried giving (1) as attached, but not sure what it was meaning and got syntax error.
from poiji.
Related Issues (20)
- Cannot get a STRING value from a NUMERIC cell HOT 1
- Potential IAE with 4.1.1 due to deprecation fix HOT 3
- data not getting mapped for xlsx file to pojo object HOT 2
- Blanks in Excel cells are always parsed into null values when .preferNullOverDefault(true) is used HOT 2
- Reading Excel With japanese character, that include phonetic text HOT 5
- Year Issue HOT 13
- com.poiji.exception.PoijiInstantiationException: Cannot create a new instance of aadhar.StudentInfo HOT 2
- When I set up headerCount with 0, @ExcelUnknownCells does not parse correctly HOT 5
- How can I ignore external workbook references in formula HOT 18
- How can I get correct date time from sheet HOT 7
- Hi can u help for the attached excel is it possible to convert it as pojo ? HOT 2
- Error "FATAL XMLHelper : -1: -1: Premature end of file" when parsing a file. HOT 5
- Empty row on parsing. HOT 3
- Regex Expression support for column name(s) HOT 1
- Expose details of PoijiRowSpecificException HOT 6
- Improve mandatoryCell behavior for opened sheets HOT 12
- Vulnerabilities on Transitive Dependencies in Commons Compress 1.25 HOT 4
- issue with parsing to String value that is Double or BigInteger HOT 6
- Incorrect Date Parsing for mm-dd-yyyy Format, Defaults to Current Date HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poiji.