org.drools.lang.dsl
Class DSLTokenizedMappingFile

java.lang.Object
  extended by org.drools.lang.dsl.DSLMappingFile
      extended by org.drools.lang.dsl.DSLTokenizedMappingFile

public class DSLTokenizedMappingFile
extends DSLMappingFile


Constructor Summary
DSLTokenizedMappingFile()
           
 
Method Summary
 boolean parseAndLoad(Reader dsl)
          Parses the file.
 
Methods inherited from class org.drools.lang.dsl.DSLMappingFile
dumpFile, getErrors, getMapping, saveMapping, saveMapping, setErrors, setMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSLTokenizedMappingFile

public DSLTokenizedMappingFile()
Method Detail

parseAndLoad

public boolean parseAndLoad(Reader dsl)
                     throws IOException
Description copied from class: DSLMappingFile
Parses the file. Throws IOException in case there is any problem reading the file;

Specified by:
parseAndLoad in class DSLMappingFile
Returns:
true in case no error was found parsing the file. false otherwise. Use getErrors() to check for the actual errors.
Throws:
IOException


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.