Skip to content

wanglong1615/excel2html

Repository files navigation

excel2html

//main test
public static void main(String[] args) throws Exception{
		File file = new File("C:/Temp/1.xls");
		ConvertConfig config = new ConvertConfig();
		config.setHtmlPrint(new FilePrint("test"));
		config.setMaxRowNum(500).setMaxCellNum(500).setExcelType("HSSF");
		Excel2Html excel2Html = new Excel2Html(config);
		FileInputStream fis = new FileInputStream(file);
		excel2Html.conver(fis, 0);
		fis.close();//try catch finally

  } 

The HTML file stored in C:/Temp.

About

convert excel to html

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages