Package org.powertac.logtool.ifc
Interface ObjectReader
-
public interface ObjectReaderInstances 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the underlying stream.ObjectgetNextObject()Returns the next object from the log.
-
-
-
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.
-
-