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
Parse an excel spreadsheet, pushing cell info into the SheetListener interface.
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<String,List<DataListener>> sheetListeners)
- Define a map of sheet name to listener handlers.
- Parameters:
sheetListeners
- map of String to SheetListener
ExcelParser
public ExcelParser(List<DataListener> sheetListeners)
ExcelParser
public ExcelParser(DataListener 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<? extends DataListener> listeners,
int row,
int column,
String value,
int mergedColStart)
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.