A simple parser designed for text files.
- Author
- Seven
Definition at line 41 of file TextFileParser.java.
◆ TextFileParser() [1/2]
com.osroyale.util.parser.TextFileParser.TextFileParser |
( |
String | path | ) |
|
|
inline |
Creates a new TextFileParser
.
- Parameters
-
path | The path of the file to parse. |
Definition at line 49 of file TextFileParser.java.
◆ TextFileParser() [2/2]
com.osroyale.util.parser.TextFileParser.TextFileParser |
( |
String | path, |
|
|
boolean | log ) |
|
inline |
Creates a new TextFileParser
.
- Parameters
-
path | The path of the file to parse. |
log | The flag that denotes to log messages. |
Definition at line 62 of file TextFileParser.java.
◆ deserialize()
void com.osroyale.util.parser.TextFileParser.deserialize |
( |
| ) |
|
|
inline |
◆ parse()
abstract void com.osroyale.util.parser.TextFileParser.parse |
( |
BufferedReader | reader | ) |
throws IOException |
|
abstract |
The method called when the file is being parsed.
- Parameters
-
reader | The underlying parser. |
The documentation for this class was generated from the following file: