当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
ExternalSpreadsheetCompiler (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.decisiontable
Class ExternalSpreadsheetCompiler
java.lang.Object
org.drools.decisiontable.ExternalSpreadsheetCompiler
public class ExternalSpreadsheetCompiler
- extends Object
Method Summary |
String |
compile(InputStream xlsStream,
InputStream templateStream,
InputType type,
int startRow,
int startCol)
|
String |
compile(InputStream xlsStream,
InputType type,
ExternalSheetListener listener)
Generates DRL from the input stream containing the spreadsheet. |
void |
compile(InputStream xlsStream,
InputType type,
List listeners)
|
void |
compile(InputStream xlsStream,
Map listeners)
|
String |
compile(InputStream xlsStream,
String worksheetName,
ExternalSheetListener listener)
|
String |
compile(InputStream xlsStream,
String worksheetName,
InputStream templateStream,
int startRow,
int startCol)
|
void |
compile(String xls,
InputType type,
List listeners)
|
void |
compile(String xls,
Map listeners)
|
String |
compile(String xls,
String template,
InputType type,
int startRow,
int startCol)
|
String |
compile(String xls,
String template,
int startRow,
int startCol)
|
String |
compile(String xls,
String worksheetName,
String template,
int startRow,
int startCol)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalSpreadsheetCompiler
public ExternalSpreadsheetCompiler()
compile
public String compile(String xls,
String template,
int startRow,
int startCol)
compile
public String compile(String xls,
String template,
InputType type,
int startRow,
int startCol)
compile
public String compile(String xls,
String worksheetName,
String template,
int startRow,
int startCol)
compile
public String compile(InputStream xlsStream,
InputStream templateStream,
InputType type,
int startRow,
int startCol)
compile
public String compile(InputStream xlsStream,
String worksheetName,
InputStream templateStream,
int startRow,
int startCol)
compile
public void compile(String xls,
InputType type,
List listeners)
compile
public void compile(String xls,
Map listeners)
compile
public void compile(InputStream xlsStream,
InputType type,
List listeners)
compile
public void compile(InputStream xlsStream,
Map listeners)
compile
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. Uses the first worksheet found
for the decision tables, ignores others.type
- The type of the file - InputType.CSV or InputType.XLSlistener
-
- Returns:
- DRL xml, ready for use in drools.
- Throws:
IOException
compile
public String compile(InputStream xlsStream,
String worksheetName,
ExternalSheetListener listener)
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.