org.drools.decisiontable.parser
Class RuleSheetParserUtil

java.lang.Object
  extended by org.drools.decisiontable.parser.RuleSheetParserUtil

public class RuleSheetParserUtil
extends java.lang.Object


Method Summary
static java.util.List getImportList(java.lang.String importCell)
           
static java.util.List getParameterList(java.lang.String ruleRow)
           
static java.lang.String getRuleName(java.lang.String ruleRow)
           
static java.util.List getVariableList(java.lang.String importCell)
          08 - 18 - 2005 Ricardo Rojas
static boolean isStringMeaningTrue(java.lang.String property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRuleName

public static java.lang.String getRuleName(java.lang.String ruleRow)

getParameterList

public static java.util.List getParameterList(java.lang.String ruleRow)
Parameters:
ruleRow -
Returns:
Return a list of Parameters from the rule row string.

getImportList

public static java.util.List getImportList(java.lang.String importCell)
Parameters:
importCell - The cell text for all the classes to import.
Returns:
A list of Import classes, which can be added to the ruleset.

getVariableList

public static java.util.List getVariableList(java.lang.String importCell)
08 - 18 - 2005 Ricardo Rojas

Parameters:
importCell - The cell text for all the application data variables to set.
Returns:
A list of Variable classes, which can be added to the ruleset.

isStringMeaningTrue

public static boolean isStringMeaningTrue(java.lang.String property)
Returns:
true is the String could possibly mean true. False otherwise !