# table-to-xls
**Repository Path**: qiankunshe/table-to-xls
## Basic Information
- **Project Name**: table-to-xls
- **Description**: HTML Table To Excel
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 24
- **Created**: 2015-08-29
- **Last Updated**: 2020-12-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#Table To Xls
## Preview

Result

## Usage
### Add Maven Repository
```xml
chyxion-github
Chyxion Github
http://chyxion.github.io/maven/
```
### Add Maven Dependency
```xml
me.chyxion
table-to-xls
0.0.1-RELEASE
```
### Use In Code
```java
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("data.xls");
fout.write(TableToXls.process(html));
fout.close();
```
## Contacts
chyxion@163.com