|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.lang.dsl.DSLMappingFile
public class DSLMappingFile
A helper class that handles a DSL Mapping file
| Constructor Summary | |
|---|---|
DSLMappingFile()
|
|
| Method Summary | |
|---|---|
String |
dumpFile()
Method to return the current mapping as a String object |
List |
getErrors()
Returns the list of parsing errors |
DSLMapping |
getMapping()
Returns the DSL mapping loaded from this file |
boolean |
parseAndLoad(Reader dsl)
Parses the file. |
void |
saveMapping(Writer out)
Saves current mapping into a DSL mapping file |
static void |
saveMapping(Writer out,
DSLMapping mapping)
Saves the given mapping into a DSL mapping file |
void |
setMapping(DSLMapping mapping)
Sets the |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DSLMappingFile()
| Method Detail |
|---|
public DSLMapping getMapping()
public void setMapping(DSLMapping mapping)
mapping - public List getErrors()
public boolean parseAndLoad(Reader dsl) throws IOException
IOExceptionpublic void saveMapping(Writer out) throws IOException
out -
IOExceptionpublic static void saveMapping(Writer out, DSLMapping mapping) throws IOException
out - mapping -
IOExceptionpublic String dumpFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||