public class ExcelParser extends Object implements DecisionTableParser
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_RULESHEET_NAME |
Constructor and Description |
---|
ExcelParser(org.drools.template.parser.DataListener listener) |
ExcelParser(List<org.drools.template.parser.DataListener> sheetListeners) |
ExcelParser(Map<String,List<org.drools.template.parser.DataListener>> sheetListeners)
Define a map of sheet name to listener handlers.
|
Modifier and Type | Method and Description |
---|---|
void |
newCell(List<? extends org.drools.template.parser.DataListener> listeners,
int row,
int column,
String value,
int mergedColStart) |
void |
parseFile(File file)
Parse a file, store the resulting rulebase.
|
void |
parseFile(InputStream inStream)
Parse an input stream, store the resulting rulebase.
|
void |
parseWorkbook(org.apache.poi.ss.usermodel.Workbook workbook) |
public static final String DEFAULT_RULESHEET_NAME
public ExcelParser(Map<String,List<org.drools.template.parser.DataListener>> sheetListeners)
sheetListeners
- map of String to SheetListenerpublic ExcelParser(List<org.drools.template.parser.DataListener> sheetListeners)
public ExcelParser(org.drools.template.parser.DataListener listener)
public void parseFile(InputStream inStream)
DecisionTableParser
parseFile
in interface DecisionTableParser
public void parseFile(File file)
DecisionTableParser
parseFile
in interface DecisionTableParser
public void parseWorkbook(org.apache.poi.ss.usermodel.Workbook workbook)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.