Package net.sf.gridarta.model.io
Interface MapReaderFactory<G extends GameObject<G,A,?>,A extends MapArchObject<A>>
-
- All Known Implementing Classes:
DefaultMapReaderFactory
public interface MapReaderFactory<G extends GameObject<G,A,?>,A extends MapArchObject<A>>A factory for creatingMapReaderinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull MapReader<G,A>newMapReader(@NotNull java.io.File file)Creates a newMapReaderinstance.
-
-
-
Method Detail
-
newMapReader
@NotNull @NotNull MapReader<G,A> newMapReader(@NotNull @NotNull java.io.File file) throws java.io.IOException
Creates a newMapReaderinstance.- Parameters:
file- the file to read- Returns:
- the new instance
- Throws:
java.io.IOException- in case the file couldn't be readInvalidMapFormatException- in case the file is in wrong format
-
-