net.sf.logdistiller
Class FactoryMultiplexer
java.lang.Object
net.sf.logdistiller.LogEvent.Factory
net.sf.logdistiller.FactoryMultiplexer
public class FactoryMultiplexer
- extends LogEvent.Factory
Combines logevents fetched from multiple factories. The resulting factory chooses the next logevent according to the
order provided.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryMultiplexer
public FactoryMultiplexer(LogType.Description description)
FactoryMultiplexer
public FactoryMultiplexer(LogType.Description description,
Comparator logeventComparator)
addFactory
public void addFactory(LogEvent.Factory factory)
readNextEvent
protected LogEvent readNextEvent()
throws IOException,
ParseException
- Specified by:
readNextEvent
in class LogEvent.Factory
- Throws:
IOException
ParseException
Copyright © 2004-2009. All Rights Reserved.