Class LineReader
- java.lang.Object
-
- net.minecraftforge.client.model.obj.LineReader
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class LineReader extends java.lang.Object implements java.lang.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.io.BufferedReader
lineReader
(package private) java.io.InputStreamReader
lineStream
-
Constructor Summary
Constructors Constructor Description LineReader(IResource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.String[]
readAndSplitLine(boolean ignoreEmptyLines)
-
-
-
Constructor Detail
-
LineReader
public LineReader(IResource resource)
-
-
Method Detail
-
readAndSplitLine
@Nullable public java.lang.String[] readAndSplitLine(boolean ignoreEmptyLines) throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
-