org.jwall.web.audit.io
Class IronBeeAuditReader

java.lang.Object
  extended by org.jwall.web.audit.io.IronBeeAuditReader
All Implemented Interfaces:
Iterable<AuditEvent>, AuditEventReader

public class IronBeeAuditReader
extends Object
implements AuditEventReader


Nested Class Summary
 class IronBeeAuditReader.IBEventHandler
           
 
Constructor Summary
IronBeeAuditReader(InputStream in)
           
 
Method Summary
 boolean atEOF()
           
 long bytesAvailable()
           
 long bytesRead()
           
 void close()
           
 Iterator<AuditEvent> iterator()
           
 AuditEvent readNext()
          This method tries to read the next event that is available.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IronBeeAuditReader

public IronBeeAuditReader(InputStream in)
                   throws IOException
Throws:
IOException
Method Detail

iterator

public Iterator<AuditEvent> iterator()
Specified by:
iterator in interface Iterable<AuditEvent>

readNext

public AuditEvent readNext()
                    throws IOException,
                           ParseException
Description copied from interface: AuditEventReader
This method tries to read the next event that is available.

Specified by:
readNext in interface AuditEventReader
Returns:
The next audit-event from or NULL if no event is available.
Throws:
IOException
ParseException

close

public void close()
           throws IOException
Specified by:
close in interface AuditEventReader
Throws:
IOException

atEOF

public boolean atEOF()
Specified by:
atEOF in interface AuditEventReader

bytesRead

public long bytesRead()
Specified by:
bytesRead in interface AuditEventReader

bytesAvailable

public long bytesAvailable()
Specified by:
bytesAvailable in interface AuditEventReader


Copyright © 2012 jwall.org. All Rights Reserved.