2 Star 2 Fork 19

师说 / table-to-xls

forked from 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 ( 0 )

Sign in to post a comment

About

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

Releases

No release

Contributors

All

Activities

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

Search

182229 41614e54 1850385 182230 7885ed45 1850385