public static class Advapi32Util.EventLogIterator extends Object implements Iterable<Advapi32Util.EventLogRecord>, Iterator<Advapi32Util.EventLogRecord>
Constructor and Description |
---|
Advapi32Util.EventLogIterator(String sourceName) |
Advapi32Util.EventLogIterator(String serverName,
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() |
Iterator<Advapi32Util.EventLogRecord> |
iterator() |
Advapi32Util.EventLogRecord |
next() |
void |
remove() |
public Advapi32Util.EventLogIterator(String sourceName)
public void close()
public Iterator<Advapi32Util.EventLogRecord> iterator()
iterator
in interface Iterable<Advapi32Util.EventLogRecord>
public boolean hasNext()
hasNext
in interface Iterator<Advapi32Util.EventLogRecord>
public Advapi32Util.EventLogRecord next()
next
in interface Iterator<Advapi32Util.EventLogRecord>
public void remove()
remove
in interface Iterator<Advapi32Util.EventLogRecord>