public abstract class MappingsReader extends Object implements Closeable
TextMappingsReader
,
BinaryMappingsReader
Constructor and Description |
---|
MappingsReader() |
Modifier and Type | Method and Description |
---|---|
MappingSet |
read()
Reads mappings from the previously given
InputStream , to
a new MappingSet . |
abstract MappingSet |
read(MappingSet mappings)
Reads mappings from the previously given
InputStream , to
the given MappingSet . |
public MappingSet read() throws IOException
InputStream
, to
a new MappingSet
.IOException
- Should an I/O issue occurpublic abstract MappingSet read(MappingSet mappings) throws IOException
InputStream
, to
the given MappingSet
.mappings
- The mapping setIOException
- Should an I/O issue occur