Package gamedata
Class TileSet.Parser
- java.lang.Object
-
- gamedata.ResourceParser<TileSet.Entry>
-
- gamedata.TileSet.Parser
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- TileSet
public static final class TileSet.Parser extends ResourceParser<TileSet.Entry>
A parser for tile set files.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TileSet.Entry
next()
Returns the next resource listed in the file, ornull
if there are no more resources available.-
Methods inherited from class gamedata.ResourceParser
close, error, errorMessage, getIdentifier, getIdentifierString, getLanguage, getLineNumber, isParsingGently, readLine, readNonemptyLine, readProperty, readProperty, setIdentifier, setLanguage, warning
-
-
-
-
Method Detail
-
next
public TileSet.Entry next() throws java.io.IOException
Description copied from class:ResourceParser
Returns the next resource listed in the file, ornull
if there are no more resources available.- Specified by:
next
in classResourceParser<TileSet.Entry>
- Returns:
- the next resource
- Throws:
java.io.IOException
- if an I/O error occurs
-
-