You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+47-45Lines changed: 47 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,57 +5,58 @@
5
5
# Java Excel Utils
6
6
7
7
## Introduction
8
-
Java Excel Utils is still an embryonic project. This open source library will collect different tools to speed up the work with Excel files.
8
+
Java Excel Utils is a Java library with the aim of making working with Microsoft Excel sheets easier. The library uses Apache POI components extending their potential.<br>
9
+
10
+
## Quickstart
11
+
There are wrapper classes for the main components of an Excel sheet: **ExcelWorkbook**, **ExcelSheet**, **ExcelRow** and **ExcelCell**.
This code snippet shows how wrappat components can be instantiated. The last lines show how it is possible to write and read inside a cell.<br>
24
+
The classes have many other features, such as the ability to count the number of rows and columns present excluding, if you want, the empty ones.<p>
25
+
At any time you can retrieve the associated Apache POI components.
26
+
27
+
```
28
+
public void toPOI() {
29
+
Workbook workbook = excelWorkbook.getWorkbook();
30
+
Sheet sheet = excelSheet.getSheet();
31
+
Row row = excelRow.getRow();
32
+
Cell cell = excelCell.getCell();
33
+
}
34
+
```
35
+
36
+
One of the main features of the library is to be able to perform conversions. The **Converter** class has methods that convert **Excel <-> POJOs** and **Excel <-> CSV**.<br>
37
+
This is an example of Excel to POJOs:
38
+
```
39
+
public void ExcelToObjects() {
40
+
File file = new File("./src/main/resources/car.xlsx");
There is still no well-defined roadmap, but there is the idea of bringing various features
71
+
**Version 0.4.0** will bring new features to the Converter class. Current conversions will be reviewed. Conversions will be available that will also work with Stream I/O and byte[] in addition to the already present File.<p>
72
+
In the future, new features will come that have not yet been well defined.
71
73
72
74
## Contributing
73
75
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
0 commit comments