public abstract class MappingsWriter extends Object implements Closeable
TextMappingsWriter
,
BinaryMappingsWriter
Modifier and Type | Field and Description |
---|---|
protected static Comparator<FieldMapping> |
ALPHABETISE_FIELDS
A
Comparator used to alphabetise a collection of FieldMapping s. |
protected static Comparator<Mapping> |
ALPHABETISE_MAPPINGS
A
Comparator used to alphabetise a collection of Mapping s. |
protected static Comparator<MethodMapping> |
ALPHABETISE_METHODS
A
Comparator used to alphabetise a collection of MethodMapping s. |
Constructor and Description |
---|
MappingsWriter() |
Modifier and Type | Method and Description |
---|---|
abstract void |
write(MappingSet mappings)
Writes the given mappings to the previously given output.
|
protected static final Comparator<Mapping> ALPHABETISE_MAPPINGS
Comparator
used to alphabetise a collection of Mapping
s.protected static final Comparator<FieldMapping> ALPHABETISE_FIELDS
Comparator
used to alphabetise a collection of FieldMapping
s.protected static final Comparator<MethodMapping> ALPHABETISE_METHODS
Comparator
used to alphabetise a collection of MethodMapping
s.public abstract void write(MappingSet mappings) throws IOException
mappings
- The mapping setIOException
- Should an IO issue occur