public interface TileMapWriter
Modifier and Type | Method and Description |
---|---|
<T extends Appendable> |
append(AbstractTileMap tileMap,
T appendable)
Append the specified tile map to the specified appendable.
|
void |
write(AbstractTileMap tileMap,
File file)
Write the specified tile map to the specified file.
|
void |
write(AbstractTileMap tileMap,
OutputStream outputStream)
Write the specified tile map to the specified output stream.
|
<T extends Appendable> T append(AbstractTileMap tileMap, T appendable) throws IOException
T
- extends AppendabletileMap
- tile map to append, must not be nullappendable
- appendable to append the specified tile map to, must not be nullIOException
- if an IO error occursvoid write(AbstractTileMap tileMap, File file) throws IOException
tileMap
- tile map to write, must not be nullfile
- file to write to, must not be nullIOException
- if an IO error occursvoid write(AbstractTileMap tileMap, OutputStream outputStream) throws IOException
tileMap
- tile map to write, must not be nulloutputStream
- output stream to write to, 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).