public abstract class AbstractTileMapReader extends Object implements TileMapReader
| Constructor and Description |
|---|
AbstractTileMapReader() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
closeQuietly(InputStream inputStream)
Close the specified input stream quietly.
|
AbstractTileMap |
read(File file)
Read a tile map from the specified file.
|
AbstractTileMap |
read(URL url)
Read a tile map from the specified URL.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadpublic final AbstractTileMap read(File file) throws IOException
TileMapReaderread in interface TileMapReaderfile - file to read from, must not be nullIOException - if an IO error occurspublic final AbstractTileMap read(URL url) throws IOException
TileMapReaderread in interface TileMapReaderurl - URL to read from, must not be nullIOException - if an IO error occursprotected static final void closeQuietly(InputStream inputStream)
inputStream - input stream to closeCopyright (c) 2006-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).