|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.decisiontable.DecisionTableLoader
public final class DecisionTableLoader
Method Summary | |
---|---|
static RuleBase |
loadFromCSVInputStream(java.io.InputStream streamToCSV)
Load a rulebase from a decision table spreadsheet in CSV format. |
static RuleBase |
loadFromInputStream(java.io.InputStream streamToSpreadsheet)
Load a rulebase from a decision table spreadsheet. |
static RuleBase |
loadFromInputStream(java.io.InputStream streamToSpreadsheet,
InputType inputType)
Load a rulebase from a decision table spreadsheet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RuleBase loadFromInputStream(java.io.InputStream streamToSpreadsheet) throws IntegrationException, org.xml.sax.SAXException, java.io.IOException
streamToSpreadsheet
- Stream to a excel 97 compatable workbook (from Excel, or Open
Office).
java.io.IOException
org.xml.sax.SAXException
IntegrationException
- This may also throw a DecisionTableParseException if there is some
problem parsing the decision table (before building the rulebase).public static RuleBase loadFromCSVInputStream(java.io.InputStream streamToCSV) throws IntegrationException, org.xml.sax.SAXException, java.io.IOException
streamToCSV
- Stream to CSV input.
java.io.IOException
org.xml.sax.SAXException
IntegrationException
- This may also throw a DecisionTableParseException if there is some
problem parsing the decision table (before building the rulebase).public static RuleBase loadFromInputStream(java.io.InputStream streamToSpreadsheet, InputType inputType) throws IntegrationException, org.xml.sax.SAXException, java.io.IOException
streamToSpreadsheet
- Format is as indicated (CSV or XLS 97 format).
java.io.IOException
org.xml.sax.SAXException
IntegrationException
- This may also throw a DecisionTableParseException if there is some
problem parsing the decision table (before building the rulebase).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |