Package org.drools.compiler.lang.dsl
Class DSLTokenizedMappingFile
- java.lang.Object
-
- org.drools.compiler.lang.dsl.DSLMappingFile
-
- org.drools.compiler.lang.dsl.DSLTokenizedMappingFile
-
public class DSLTokenizedMappingFile extends DSLMappingFile
-
-
Constructor Summary
Constructors Constructor Description DSLTokenizedMappingFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanparseAndLoad(Reader dsl)Parses the file.-
Methods inherited from class org.drools.compiler.lang.dsl.DSLMappingFile
dumpFile, getErrors, getMapping, saveMapping, saveMapping, setErrors, setMapping
-
-
-
-
Method Detail
-
parseAndLoad
public boolean parseAndLoad(Reader dsl) throws IOException
Description copied from class:DSLMappingFileParses the file. Throws IOException in case there is any problem reading the file;- Specified by:
parseAndLoadin classDSLMappingFile- Returns:
- true in case no error was found parsing the file. false otherwise. Use getErrors() to check for the actual errors.
- Throws:
IOException
-
-