Class TextFileReader

java.lang.Object
com.scriptbasic.utility.functions.file.TextFileReader
All Implemented Interfaces:
NoAccess, FileHandler, java.lang.AutoCloseable

public class TextFileReader
extends java.lang.Object
implements FileHandler, java.lang.AutoCloseable
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected TextFileReader​(java.io.BufferedReader br)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    protected java.lang.String readLine()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TextFileReader

      protected TextFileReader​(java.io.BufferedReader br)
  • Method Details

    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface FileHandler
      Throws:
      java.io.IOException
    • readLine

      protected java.lang.String readLine() throws java.io.IOException
      Throws:
      java.io.IOException