Package me.tamkungz.nilkit.mapping
Class SrgMappings
java.lang.Object
me.tamkungz.nilkit.mapping.SrgMappings
Utilities for reading, writing, reversing and composing SRG mapping files.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SrgMappingSetchain(SrgMappingSet first, SrgMappingSet second) Composes A->B and B->C mappings into A->C.static SrgMappingSetstatic StringremapDescriptor(String descriptor, Map<String, String> classes) static SrgMappingSetreverse(SrgMappingSet input) static voidwrite(Path file, SrgMappingSet set)
-
Method Details
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-
reverse
-
chain
Composes A->B and B->C mappings into A->C. Entries without an exact second-stage match are omitted. -
remapDescriptor
-