26 Star 52 Fork 19

Shaun Chyxion / table-to-xls

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

#Table To Xls

Preview

HTML Table

Result

XLS Result

Usage

Add Maven Dependency

    <dependency>
        <groupId>me.chyxion</groupId>
        <artifactId>table-to-xls</artifactId>
        <version>0.0.1-RELEASE</version>
    </dependency>

Use In Code

    StringBuilder html = new StringBuilder();
    Scanner s = new Scanner(getClass().getResourceAsStream("/sample.html"), "utf-8");
    while (s.hasNext()) {
        html.append(s.nextLine());
    }
    s.close();
    FileOutputStream fout = new FileOutputStream("target/data.xls");
    TableToXls.process(html, fout);
    fout.close();

Contact

chyxion@163.com

Repository Comments ( 18 )

Sign in for post a comment

About

HTML Table To Excel expand collapse
Java
BSD-2-Clause
Cancel

Releases

No release

table-to-xls

Contributors

All

Activities

load more
can not load any more
Java
1
https://gitee.com/chyxion/table-to-xls.git
git@gitee.com:chyxion/table-to-xls.git
chyxion
table-to-xls
table-to-xls
master

Search

181749 a2d7925e 1850385 181749 9f8568a7 1850385