public static class Advapi32Util.EventLogIterator extends java.lang.Object implements java.lang.Iterable<Advapi32Util.EventLogRecord>, java.util.Iterator<Advapi32Util.EventLogRecord>
Constructor and Description |
---|
EventLogIterator(java.lang.String sourceName) |
EventLogIterator(java.lang.String serverName,
java.lang.String sourceName,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Call close() in the case when the caller needs to abandon the
iterator before the iteration completes.
|
boolean |
hasNext() |
java.util.Iterator<Advapi32Util.EventLogRecord> |
iterator() |
Advapi32Util.EventLogRecord |
next() |
void |
remove() |
public EventLogIterator(java.lang.String sourceName)
public EventLogIterator(java.lang.String serverName, java.lang.String sourceName, int flags)
public void close()
public java.util.Iterator<Advapi32Util.EventLogRecord> iterator()
iterator
in interface java.lang.Iterable<Advapi32Util.EventLogRecord>
public boolean hasNext()
hasNext
in interface java.util.Iterator<Advapi32Util.EventLogRecord>
public Advapi32Util.EventLogRecord next()
next
in interface java.util.Iterator<Advapi32Util.EventLogRecord>
public void remove()
remove
in interface java.util.Iterator<Advapi32Util.EventLogRecord>