Package net.fabricmc.mappingio
Class MappingReader
java.lang.Object
net.fabricmc.mappingio.MappingReader
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable MappingFormatdetectFormat(Reader reader) static @Nullable 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)
-
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
-