Tool for java reading/writing excel file.
- clone project into local disk
git clone https://github.com/johnsonmoon/java2excel.git
- install apache maven, execute command below in the project directory
mvn install -Dmaven.test.skip=true
- pom.xml
<dependency>
<groupId>com.github.johnsonmoon</groupId>
<artifactId>java2excel</artifactId>
<version>${version}</version>
</dependency>
Choose your favourite ${version}.
There are a few ways to edit/write/read excel file with java2excel tool.
number | name | interface or class | description |
---|---|---|---|
1 | Editor | interface | interface for edit excel file (including read & write) |
2 | Reader | interface | interface for read data from excel file |
3 | Writer | interface | interface for write data into excel file |
4 | CustomEditor | class | class implements Editor, custom editing excel file (including read & write) |
5 | CustomReader | class | class implements Reader, custom reading data from excel file |
6 | CustomWriter | class | class implements Writer, custom writing data into excel file |
7 | FormattedEditor | class | class implements Editor, editing excel file with formatted way |
8 | FormattedReader | class | class implements Reader, reading data from excel file with formatted way |
9 | FormattedWriter | class | class implements Writer, writing data into excel file with formatted way |
10 | FreeEditor | class | class editing excel file freely |
11 | FreeReader | class | class reading excel file freely |
12 | FreeWriter | class | class Writing excel file freely |