Class stl_In

java.lang.Object
com.jackmeng.stl.stl_In

public class stl_In
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    private java.io.BufferedReader br  
    private java.io.InputStream io  
    private java.util.StringTokenizer st  
  • 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 line
    java.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

      public java.lang.String next​(stl_ErrCall errorCallback)
      Reads a single token from the input.
      Parameters:
      errorCallback -
      Returns:
    • nextln

      public java.lang.String nextln​(stl_ErrCall errorCallback)
      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()