public class TSrgMappingFormat extends Object implements TextMappingFormat
Constructor and Description |
---|
TSrgMappingFormat() |
Modifier and Type | Method and Description |
---|---|
MappingsReader |
createReader(Reader reader)
Creates a
MappingsReader from the given Reader
for the mapping format. |
MappingsWriter |
createWriter(Writer writer)
Creates a
MappingsWriter from the given Writer
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, createReader, createWriter, createWriter
read, read, write
public MappingsReader createReader(Reader reader)
TextMappingFormat
MappingsReader
from the given Reader
for the mapping format.createReader
in interface TextMappingFormat
reader
- The readerpublic MappingsWriter createWriter(Writer writer)
TextMappingFormat
MappingsWriter
from the given Writer
for the mapping format.createWriter
in interface TextMappingFormat
writer
- The writerpublic Optional<String> getStandardFileExtension()
MappingFormat
getStandardFileExtension
in interface MappingFormat