net.sourceforge.toscanaj.parser
Class ObjectAttributeListParser
java.lang.Object
net.sourceforge.toscanaj.parser.ObjectAttributeListParser
- public class ObjectAttributeListParser
- extends java.lang.Object
This parser reads a file with a list of objects and their attributes into a context.
The file format uses a line for each object with its attributes. The first part is
the text for the object itself, followed by a colon and then a list of attributes
it relates to seperated by semicolons. Double-quotes can be used for quotation,
backslashes as escapes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectAttributeListParser
public ObjectAttributeListParser()
importOALFile
public static ContextImplementation importOALFile(java.io.File file)
throws java.io.FileNotFoundException,
DataFormatException
- Throws:
java.io.FileNotFoundException
DataFormatException
importOALFromReader
public static ContextImplementation importOALFromReader(java.io.Reader reader,
java.lang.String name)
throws DataFormatException
- Throws:
DataFormatException
The ToscanaJ project