public class SrgWriter extends TextMappingsWriter
MappingsWriter
for the SRG format.writer
ALPHABETISE_MAPPINGS
Constructor and Description |
---|
SrgWriter(Writer writer)
Creates a new SRG mappings writer, from the given
Writer . |
Modifier and Type | Method and Description |
---|---|
void |
write(MappingSet mappings)
Writes the given mappings to the previously given output.
|
protected void |
writeClassMapping(ClassMapping<?> mapping)
Writes the given
ClassMapping , alongside its member mappings. |
protected void |
writeFieldMapping(FieldMapping mapping)
Writes the given
FieldMapping . |
protected void |
writeMethodMapping(MethodMapping mapping)
Writes the given
MethodMapping . |
close
indentSpaces, indentTab
public void write(MappingSet mappings)
MappingsWriter
write
in class MappingsWriter
mappings
- The mapping setprotected void writeClassMapping(ClassMapping<?> mapping)
ClassMapping
, alongside its member mappings.mapping
- The class mappingprotected void writeFieldMapping(FieldMapping mapping)
FieldMapping
.mapping
- The field mappingprotected void writeMethodMapping(MethodMapping mapping)
MethodMapping
.mapping
- The method mapping