public interface MapReaderFactory<G extends GameObject<G,A,?>,A extends MapArchObject<A>>
MapReader
instances.Modifier and Type | Method and Description |
---|---|
@NotNull MapReader<G,A> |
newMapReader(@NotNull java.io.File file)
Creates a new
MapReader instance. |
@NotNull @NotNull MapReader<G,A> newMapReader(@NotNull @NotNull java.io.File file) throws java.io.IOException
MapReader
instance.file
- the file to readjava.io.IOException
- in case the file couldn't be readInvalidMapFormatException
- in case the file is in wrong format