| |
|
| java.lang.Object org.drools.lang.dsl.DSLMappingFile
DSLMappingFile | public class DSLMappingFile (Code) | | A helper class that handles a DSL Mapping file
author: etirelli |
DSLMappingFile | public DSLMappingFile()(Code) | | |
dumpFile | public String dumpFile()(Code) | | Method to return the current mapping as a String object
|
getErrors | public List getErrors()(Code) | | Returns the list of parsing errors
|
getMapping | public DSLMapping getMapping()(Code) | | Returns the DSL mapping loaded from this file
|
parseAndLoad | public boolean parseAndLoad(Reader dsl) throws IOException(Code) | | Parses the file. Throws IOException in case there is any problem
reading the file;
true in case no error was found parsing the file. false otherwise. Use getErrors() to check for the actual errors. |
setMapping | public void setMapping(DSLMapping mapping)(Code) | | Sets the
Parameters: mapping - |
|
|
|