Interface ObjectReader


  • public interface ObjectReader
    Instances deliver re-created objects from a state log file. Given a BufferedReader properly positioned in a state log, each call to getNextObject() will deliver the next non-null object from the file. An instance of ObjectReader is created by a LogtoolCore instance that has been initialized to ignore or include only specific types from the log.
    Author:
    John Collins
    • Method Detail

      • getNextObject

        Object getNextObject()
        Returns the next object from the log. A null return indicates end-of-file.
      • close

        void close()
        Closes the underlying stream.