package rescuecore2.log; import java.io.OutputStream; import java.io.InputStream; import java.io.IOException; /** Marker record at the end of the log. */ public class EndLogRecord implements LogRecord { /** Construct a new EndLogRecord. */ public EndLogRecord() { } /** Construct a new EndLogRecord and read data from an InputStream. @param in The InputStream to read from. @throws IOException If there is a problem reading the stream. */ public EndLogRecord(InputStream in) throws IOException { read(in); } @Override public RecordType getRecordType() { return RecordType.END_OF_LOG; } @Override public void write(OutputStream out) throws IOException { } @Override public void read(InputStream in) throws IOException { } }