Package org.sgrewritten.stargate.gate
Class GateFormatParser
java.lang.Object
org.sgrewritten.stargate.gate.GateFormatParser
The gate format parser is responsible for parsing gate format files
-
Constructor Summary
ConstructorDescriptionGateFormatParser
(Scanner scanner, String filename) Instantiates a new gate format parser -
Method Summary
Modifier and TypeMethodDescriptionParses the gate file given during instantiation
-
Constructor Details
-
GateFormatParser
Instantiates a new gate format parser- Parameters:
scanner
-The scanner to read the gate file from
filename
-The name of the parsed gate file
-
-
Method Details
-
parseGateFormat
Parses the gate file given during instantiation- Returns:
The parsed gate format
- Throws:
ParsingErrorException
-If unable to parse the file
-