public class KinMappingFormat extends Object implements MappingFormat
Constructor and Description |
---|
KinMappingFormat() |
Modifier and Type | Method and Description |
---|---|
MappingsReader |
createReader(InputStream stream)
Creates a
MappingsReader from the given InputStream
for the mapping format. |
MappingsWriter |
createWriter(OutputStream stream)
Creates a
MappingsWriter from the given OutputStream
for the mapping format. |
Optional<String> |
getStandardFileExtension()
Gets the typically used file extension for the format, if available.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createReader, createWriter, read, read, write
public MappingsReader createReader(InputStream stream) throws IOException
MappingFormat
MappingsReader
from the given InputStream
for the mapping format.createReader
in interface MappingFormat
stream
- The input streamIOException
- Should an I/O issue occurpublic MappingsWriter createWriter(OutputStream stream) throws IOException
MappingFormat
MappingsWriter
from the given OutputStream
for the mapping format.createWriter
in interface MappingFormat
stream
- The output streamIOException
- Should an I/O issue occurpublic Optional<String> getStandardFileExtension()
MappingFormat
getStandardFileExtension
in interface MappingFormat