| java.lang.Object org.drools.decisiontable.ExternalSpreadsheetCompiler
ExternalSpreadsheetCompiler | public class ExternalSpreadsheetCompiler (Code) | | |
Method Summary | |
public String | compile(String xls, String template, int startRow, int startCol) | public String | compile(String xls, String template, InputType type, int startRow, int startCol) | public String | compile(String xls, String worksheetName, String template, int startRow, int startCol) | public String | compile(InputStream xlsStream, InputStream templateStream, InputType type, int startRow, int startCol) | public String | compile(InputStream xlsStream, String worksheetName, InputStream templateStream, int startRow, int startCol) | public void | compile(String xls, InputType type, List listeners) | public void | compile(String xls, Map listeners) | public void | compile(InputStream xlsStream, InputType type, List listeners) | public void | compile(InputStream xlsStream, Map listeners) | public String | compile(InputStream xlsStream, InputType type, ExternalSheetListener listener) Generates DRL from the input stream containing the spreadsheet.
Parameters: xlsStream - The stream to the spreadsheet. | public String | compile(InputStream xlsStream, String worksheetName, ExternalSheetListener listener) |
compile | public String compile(InputStream xlsStream, InputType type, ExternalSheetListener listener)(Code) | | Generates DRL from the input stream containing the spreadsheet.
Parameters: xlsStream - The stream to the spreadsheet. Uses the first worksheet foundfor the decision tables, ignores others. Parameters: type - The type of the file - InputType.CSV or InputType.XLS Parameters: listener - DRL xml, ready for use in drools. throws: IOException - |
|
|