@AptParser public class LoLAPNParser extends AbstractParser<PetriNet> implements Parser<PetriNet>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FORMAT |
| Constructor and Description |
|---|
LoLAPNParser() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getFileExtensions()
Get a list of recommended file extensions.
|
java.lang.String |
getFormat()
Which format does this parser understand?
|
PetriNet |
parse(java.io.InputStream is)
Parse an input stream into an object.
|
parseFile, parseFile, parseStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseFile, parseFile, parseStringpublic static final java.lang.String FORMAT
public java.lang.String getFormat()
Parserpublic java.util.List<java.lang.String> getFileExtensions()
ParsergetFileExtensions in interface Parser<PetriNet>public PetriNet parse(java.io.InputStream is) throws ParseException, java.io.IOException
Parserparse in interface Parser<PetriNet>is - The input stream to read the object from.ParseException - If the input can't get parsed.java.io.IOException - If readig the input fails.