public class LogReader extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
static int |
FRAME_SIZE_OFFSET |
static int |
HEADER_SIZE |
private InputStream |
stream |
| Constructor and Description |
|---|
LogReader(InputStream stream) |
private final InputStream stream
public static final int HEADER_SIZE
public static final int FRAME_SIZE_OFFSET
public LogReader(InputStream stream)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic LogMessage nextMessage() throws IOException
IOExceptionCopyright © 2014. All rights reserved.