Package com.jackmeng.stl
Class stl_In
java.lang.Object
com.jackmeng.stl.stl_In
public class stl_In
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description stl_In(java.io.InputStream e)
-
Method Summary
Modifier and Type Method Description java.lang.String
next()
java.lang.String
next(stl_ErrCall errorCallback)
Reads a single token from the input.java.lang.String
nextln()
java.lang.String
nextln(stl_ErrCall errorCallback)
Reads an entire linejava.io.BufferedReader
reader()
void
reader(java.io.BufferedReader br)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
io
private final java.io.InputStream io -
br
private java.io.BufferedReader br -
st
private java.util.StringTokenizer st
-
-
Constructor Details
-
stl_In
public stl_In(java.io.InputStream e)
-
-
Method Details
-
reader
public void reader(java.io.BufferedReader br) -
reader
public java.io.BufferedReader reader() -
next
public java.lang.String next() -
next
Reads a single token from the input.- Parameters:
errorCallback
-- Returns:
-
nextln
Reads an entire line- Parameters:
errorCallback
- Provided custom error callback handler- Returns:
- The String content that was read back
-
nextln
public java.lang.String nextln()
-