public class CurrentJHParser extends Object implements JobHistoryParser
JobHistoryParser that parses JobHistory files produced by
JobHistory in the same source
code tree as rumen.| Constructor and Description |
|---|
CurrentJHParser(InputStream input) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canParse(InputStream input)
Can this parser parse the input?
|
void |
close() |
HistoryEvent |
nextEvent()
Get the next
HistoryEvent |
public CurrentJHParser(InputStream input) throws IOException
IOExceptionpublic static boolean canParse(InputStream input) throws IOException
input - IOExceptionpublic HistoryEvent nextEvent() throws IOException
JobHistoryParserHistoryEventnextEvent in interface JobHistoryParserHistoryEvent. If no more events left, return null.IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 CERN. All Rights Reserved.