public interface LogRecord
| Modifier and Type | Method and Description |
|---|---|
RecordType |
getRecordType()
Get the type of this record.
|
void |
read(java.io.InputStream in)
Read this log record's data from a stream.
|
void |
write(java.io.OutputStream out)
Write this log record to a stream.
|
RecordType getRecordType()
void write(java.io.OutputStream out)
throws java.io.IOException
out - The OutputStream to write to.java.io.IOException - If there is a problem writing to the stream.void read(java.io.InputStream in)
throws java.io.IOException,
LogException
in - The InputStream to read from.java.io.IOException - If there is a problem reading the stream.LogException - If there is a problem reading the log record.