package com.smtscript.lib; import com.smtscript.lib.jsexcel.JSExcelReader; import com.smtscript.lib.jsexcel.JSExcelWriter; import com.smtscript.lib.jsexcel.JSPOIExcelFileReader; public class JSStaticExcel extends JSStaticAbstract { public JSExcelReader open(String fileName) throws Exception { return new JSExcelReader(_parentScope, fileName); } public JSExcelWriter create(String fileName) throws Exception { return new JSExcelWriter(_parentScope, fileName); } public JSExcelWriter create(String fileName, String tempFile) throws Exception { return new JSExcelWriter(_parentScope, fileName, _parentScope.__findExistFile__(tempFile, true)); } public JSPOIExcelFileReader openPOI(String fileName) throws Exception { return new JSPOIExcelFileReader(fileName); } }