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 FieldMappings. |
protected static Comparator<Mapping> |
ALPHABETISE_MAPPINGS
A
Comparator used to alphabetise a collection of Mappings. |
protected static Comparator<MethodMapping> |
ALPHABETISE_METHODS
A
Comparator used to alphabetise a collection of MethodMappings. |
| 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 Mappings.protected static final Comparator<FieldMapping> ALPHABETISE_FIELDS
Comparator used to alphabetise a collection of FieldMappings.protected static final Comparator<MethodMapping> ALPHABETISE_METHODS
Comparator used to alphabetise a collection of MethodMappings.public abstract void write(MappingSet mappings) throws IOException
mappings - The mapping setIOException - Should an IO issue occur