public interface TileMapReader
Modifier and Type | Method and Description |
---|---|
AbstractTileMap |
read(File file)
Read a tile map from the specified file.
|
AbstractTileMap |
read(InputStream inputStream)
Read a tile map from the specified input stream.
|
AbstractTileMap |
read(URL url)
Read a tile map from the specified URL.
|
AbstractTileMap read(File file) throws IOException
file
- file to read from, must not be nullIOException
- if an IO error occursAbstractTileMap read(URL url) throws IOException
url
- URL to read from, must not be nullIOException
- if an IO error occursAbstractTileMap read(InputStream inputStream) throws IOException
inputStream
- input stream to read from, must not be nullIOException
- if an IO error occursCopyright (c) 2006-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).