public interface MapArchObjectParser<A extends MapArchObject<A>>
MapArchObject instances.| Modifier and Type | Method and Description |
|---|---|
void |
load(@NotNull java.io.BufferedReader reader,
A mapArchObject)
Parse a map arch object from a stream.
|
void |
save(@NotNull java.lang.Appendable appendable,
A mapArchObject,
@Nullable MapFile mapFile)
Write a map arch object to a stream.
|
void load(@NotNull
@NotNull java.io.BufferedReader reader,
@NotNull
A mapArchObject)
throws java.io.IOException
reader - the stream to readmapArchObject - the map arch object to updatejava.io.IOException - if the stream cannot be read or if a parsing error
occurs; the map arch object may have been partially updatedvoid save(@NotNull
@NotNull java.lang.Appendable appendable,
@NotNull
A mapArchObject,
@Nullable
@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 written