@NotThreadSafe public final class UfsJournalFileParser extends Object implements JournalFileParser
JournalFileParser
that parses a journal file.JournalFileParser.Factory
Constructor and Description |
---|
UfsJournalFileParser(URI location)
Creates a new instance of
UfsJournalFileParser . |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Journal.JournalEntry |
next()
Parses a journal file and returns the next entry from the journal file.
|
public UfsJournalFileParser(URI location)
UfsJournalFileParser
.location
- the journal file locationpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public Journal.JournalEntry next() throws IOException
JournalFileParser
next
in interface JournalFileParser
IOException
Copyright © 2023. All Rights Reserved.