@AutoService(value=IMappingFormat.class) public class TSRGMapper extends java.lang.Object implements IMappingFormat
IMappingFormat capable of parsing TSRG (an intermediary
format used by Forge) files.| Constructor and Description |
|---|
TSRGMapper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
claim(java.util.List<java.lang.String> lines)
Checks whether this mapper can process the given lines.
|
Mapper |
getMapper(java.util.List<java.lang.String> lines,
boolean ignoreErrors)
Creates a
Mapper given the lines, ignoring errors depending on the given flag. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInvertedMapper, prioritypublic boolean claim(java.util.List<java.lang.String> lines)
IMappingFormatclaim in interface IMappingFormatlines - the lines to readpublic Mapper getMapper(java.util.List<java.lang.String> lines, boolean ignoreErrors) throws MalformedMappingsException
IMappingFormatMapper given the lines, ignoring errors depending on the given flag.getMapper in interface IMappingFormatlines - the lines to readignoreErrors - try to ignore errors and keep goingMapperMalformedMappingsException - if an error is encountered and ignoreErrors is false