Class Advapi32Util.EventLogIterator
java.lang.Object
com.sun.jna.platform.win32.Advapi32Util.EventLogIterator
- All Implemented Interfaces:
Iterable<Advapi32Util.EventLogRecord>, Iterator<Advapi32Util.EventLogRecord>
- Enclosing class:
Advapi32Util
public static class Advapi32Util.EventLogIterator
extends Object
implements Iterable<Advapi32Util.EventLogRecord>, Iterator<Advapi32Util.EventLogRecord>
An iterator for Event Log entries.
- Author:
- dblock[at]dblock.org
-
Constructor Summary
ConstructorsConstructorDescriptionEventLogIterator(String sourceName) EventLogIterator(String serverName, String sourceName, int flags) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
EventLogIterator
-
EventLogIterator
-
-
Method Details
-
close
public void close()Call close() in the case when the caller needs to abandon the iterator before the iteration completes. -
iterator
- Specified by:
iteratorin interfaceIterable<Advapi32Util.EventLogRecord>
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<Advapi32Util.EventLogRecord>
-
next
- Specified by:
nextin interfaceIterator<Advapi32Util.EventLogRecord>
-
remove
public void remove()- Specified by:
removein interfaceIterator<Advapi32Util.EventLogRecord>
-