public class ModSecurityAuditReader extends AbstractAuditEventReader
bytesRead, counter, DEFAULT_AUDIT_EVENT_FACTORY_CLASS, eofReached, eventFactory, fileSize, inputFile, pending, reader| Constructor and Description |
|---|
ModSecurityAuditReader(File f)
This creates a new instance of this class that reads events from the
given file.
|
ModSecurityAuditReader(File f,
boolean tail)
This creates a new instance of this class that reads events from the
given file.
|
ModSecurityAuditReader(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<AuditEvent> |
iterator() |
AuditEvent |
readNext()
This method reads another event from the stream.
|
atEOF, bytesAvailable, bytesRead, close, getDataRead, getFileSize, getSectionIndex, hasNextpublic ModSecurityAuditReader(File f) throws IOException
f - IOExceptionpublic ModSecurityAuditReader(InputStream in)
public ModSecurityAuditReader(File f, boolean tail) throws IOException
f - IOExceptionpublic AuditEvent readNext() throws IOException, ParseException
readNext in interface AuditEventReaderreadNext in class AbstractAuditEventReaderIOExceptionParseExceptionAuditEventReader.readNext()public Iterator<AuditEvent> iterator()
Copyright © 2013 jwall.org. All Rights Reserved.