|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.phoenixst.collections.LoggingIterator
public class LoggingIterator
An Iterator
which wraps another to provide logging
support.
Constructor Summary | |
---|---|
LoggingIterator(Iterator delegate)
Creates a new LoggingIterator which
logs to a category corresponding to this class at
the DEBUG level. |
|
LoggingIterator(Iterator delegate,
org.apache.log4j.Logger logger)
Creates a new LoggingIterator which uses
the specified log at the DEBUG level. |
|
LoggingIterator(Iterator delegate,
org.apache.log4j.Logger logger,
org.apache.log4j.Level level)
Creates a new LoggingIterator . |
Method Summary | |
---|---|
protected Iterator |
getDelegate()
Provides access to internal state so it can be used by extensions of this class. |
protected org.apache.log4j.Level |
getLevel()
Provides access to internal state so it can be used by extensions of this class. |
protected org.apache.log4j.Logger |
getLogger()
Provides access to internal state so it can be used by extensions of this class. |
boolean |
hasNext()
|
Object |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingIterator(Iterator delegate)
LoggingIterator
which
logs to a category corresponding to this class at
the DEBUG level.
public LoggingIterator(Iterator delegate, org.apache.log4j.Logger logger)
LoggingIterator
which uses
the specified log at the DEBUG level.
public LoggingIterator(Iterator delegate, org.apache.log4j.Logger logger, org.apache.log4j.Level level)
LoggingIterator
.
Method Detail |
---|
protected final Iterator getDelegate()
protected final org.apache.log4j.Logger getLogger()
protected final org.apache.log4j.Level getLevel()
public boolean hasNext()
hasNext
in interface Iterator
public Object next()
next
in interface Iterator
public void remove()
remove
in interface Iterator
|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |