public class MapArchObjectParser extends AbstractMapArchObjectParser<MapArchObject>
MapArchObjectParser
for Daimonin map arch
object instances.Constructor and Description |
---|
MapArchObjectParser() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
parseLine(java.lang.String line,
MapArchObject mapArchObject,
java.io.BufferedReader reader)
Parse a line for this editor type.
|
void |
save(java.lang.Appendable appendable,
MapArchObject mapArchObject,
MapFile mapFile)
Write a map arch object to a stream.
|
load
public void save(@NotNull java.lang.Appendable appendable, @NotNull MapArchObject mapArchObject, @Nullable MapFile mapFile) throws java.io.IOException
appendable
- the stream to write tomapArchObject
- the map arch object to writemapFile
- the map file or null
if unknownjava.io.IOException
- if the stream cannot be writtenprotected boolean parseLine(@NotNull java.lang.String line, @NotNull MapArchObject mapArchObject, @NotNull java.io.BufferedReader reader)
parseLine
in class AbstractMapArchObjectParser<MapArchObject>
line
- the line to parsemapArchObject
- the map arch object to updatereader
- the reader for reading additional lines