Package net.fabricmc.mappingio
Class MappingReader
java.lang.Object
net.fabricmc.mappingio.MappingReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MappingFormatdetectFormat(Reader reader) static MappingFormatdetectFormat(Path file) getNamespaces(Reader reader) getNamespaces(Reader reader, MappingFormat format) getNamespaces(Path file) getNamespaces(Path file, MappingFormat format) static voidread(Reader reader, MappingFormat format, MappingVisitor visitor) static voidread(Reader reader, MappingVisitor visitor) static voidread(Path file, MappingFormat format, MappingVisitor visitor) static voidread(Path file, MappingVisitor visitor)
-
Constructor Details
-
MappingReader
public MappingReader()
-
-
Method Details
-
detectFormat
- Throws:
IOException
-
detectFormat
- Throws:
IOException
-
getNamespaces
- Throws:
IOException
-
getNamespaces
- Throws:
IOException
-
getNamespaces
- Throws:
IOException
-
getNamespaces
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
public static void read(Reader reader, MappingFormat format, MappingVisitor visitor) throws IOException - Throws:
IOException
-