当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
ExcelParser (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.decisiontable.parser.xls
Class ExcelParser
java.lang.Object
org.drools.decisiontable.parser.xls.ExcelParser
- All Implemented Interfaces:
- DecisionTableParser
public class ExcelParser
- extends Object
- implements DecisionTableParser
- Author:
- Michael Neale
Parse an excel spreadsheet, pusing cell info into the SheetListener interface.
Method Summary |
void |
newCell(List listeners,
int row,
int column,
String value,
int mergedColStart)
|
void |
parseFile(InputStream inStream)
Parse an input stream, store the resulting rulebase. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_RULESHEET_NAME
public static final String DEFAULT_RULESHEET_NAME
- See Also:
- Constant Field Values
ExcelParser
public ExcelParser(Map sheetListners)
- Define a map of sheet name to listner handlers.
- Parameters:
sheetListners
- map of String to SheetListener
ExcelParser
public ExcelParser(List sheetListners)
ExcelParser
public ExcelParser(SheetListener listener)
parseFile
public void parseFile(InputStream inStream)
- Description copied from interface:
DecisionTableParser
- Parse an input stream, store the resulting rulebase.
- Specified by:
parseFile
in interface DecisionTableParser
newCell
public void newCell(List listeners,
int row,
int column,
String value,
int mergedColStart)
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.