org.drools.decisiontable.parser.xls
Class ExcelParser
java.lang.Object
org.drools.decisiontable.parser.xls.ExcelParser
- All Implemented Interfaces:
- DecisionTableParser
public class ExcelParser
- extends java.lang.Object
- implements DecisionTableParser
- Author:
- Michael Neale
Parse an excel spreadsheet, pusing cell info into the SheetListener interface.
Method Summary |
void |
newCell(java.util.List listeners,
int row,
int column,
java.lang.String value,
int mergedColStart)
|
void |
parseFile(java.io.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 java.lang.String DEFAULT_RULESHEET_NAME
- See Also:
- Constant Field Values
ExcelParser
public ExcelParser(java.util.Map sheetListners)
- Define a map of sheet name to listner handlers.
- Parameters:
sheetListners
- map of String to SheetListener
ExcelParser
public ExcelParser(java.util.List sheetListners)
ExcelParser
public ExcelParser(SheetListener listener)
parseFile
public void parseFile(java.io.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(java.util.List listeners,
int row,
int column,
java.lang.String value,
int mergedColStart)