com.antelmann.net
Class ServerLogFile.ServerLogEntryEnumerator
java.lang.Object
com.antelmann.util.AbstractIterator<ServerLogEntry>
com.antelmann.net.ServerLogFile.ServerLogEntryEnumerator
- All Implemented Interfaces:
- Enumeration<ServerLogEntry>, Iterator<ServerLogEntry>
- Enclosing class:
- ServerLogFile
protected class ServerLogFile.ServerLogEntryEnumerator
- extends AbstractIterator<ServerLogEntry>
| Methods inherited from class com.antelmann.util.AbstractIterator |
allowsNull, currentElement, enumerate, getAll, getCount, getEndCondition, getFilter, hasMoreElements, hasNext, iterate, list, list, next, nextElement, propagatesException, remove, reverseEnumeration, setAllowNull, setFilter, setPropagateException, sortEnumeration, sortEnumeration |
ServerLogFile.ServerLogEntryEnumerator
protected ServerLogFile.ServerLogEntryEnumerator(Filter<ServerLogEntry> filter)
finalize
protected void finalize()
throws IOException
- Overrides:
finalize in class Object
- Throws:
IOException
getNextElement
protected ServerLogEntry getNextElement()
throws Exception
- Description copied from class:
AbstractIterator
- if no more Element is available, this method is to return null
or throw any Exception.
Errors (as opposed to Exceptions) are not caught, i.e. they would
always be thrown directly and unwrapped during
next().
- Specified by:
getNextElement in class AbstractIterator<ServerLogEntry>
- Throws:
Exception
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads