# table2xls
**Repository Path**: lgh06/table2xls
## Basic Information
- **Project Name**: table2xls
- **Description**: No description available
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2014-12-16
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#Table To Xls
##把http://git.oschina.net/chyxion/table-to-xls/的项目去掉Maven重新提交。
## 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