public class JournalEntryStreamReader extends Object implements Closeable
Constructor and Description |
---|
JournalEntryStreamReader(InputStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Journal.JournalEntry |
readEntry()
Reads a journal entry from the input stream.
|
public JournalEntryStreamReader(InputStream stream)
stream
- the stream to read frompublic Journal.JournalEntry readEntry() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023. All Rights Reserved.