Class ObjTokenizer
java.lang.Object
net.neoforged.neoforge.client.model.obj.ObjTokenizer
- All Implemented Interfaces:
AutoCloseable
A tokenizer for OBJ and MTL files.
Joins split lines and ignores comments.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
@Nullable String[]
readAndSplitLine
(boolean ignoreEmptyLines)
-
Field Details
-
lineReader
-
-
Constructor Details
-
ObjTokenizer
-
-
Method Details
-
readAndSplitLine
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-