@AptParser public class AptLTSParser extends AbstractParser<TransitionSystem> implements Parser<TransitionSystem>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FORMAT |
| Constructor and Description |
|---|
AptLTSParser() |
| 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?
|
TransitionSystem |
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()
ParsergetFormat in interface Parser<TransitionSystem>public java.util.List<java.lang.String> getFileExtensions()
ParsergetFileExtensions in interface Parser<TransitionSystem>public TransitionSystem parse(java.io.InputStream is) throws ParseException, java.io.IOException
Parserparse in interface Parser<TransitionSystem>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.