|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.polliwog.collectors.HostnameCollector
public class HostnameCollector
Constructor Summary | |
---|---|
HostnameCollector()
|
Method Summary | |
---|---|
boolean |
accept(AbstractField af)
The method called to process a field. |
void |
init(java.lang.String val)
The method called to init the collector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HostnameCollector()
Method Detail |
---|
public void init(java.lang.String val) throws WeblogException
Collector
init
in interface Collector
val
- The string used to init this collector. In general this is just
some values to configure the collector and provide optionality in
behaviour.
WeblogException
- Throw if there is an issue with initing the collector.public boolean accept(AbstractField af)
Collector
accept
in interface Collector
af
- The AbstractField from a log entry.
true
should be returned if the collector instance allows
this field, false
otherwise.org.polliwog.data.LogEntryFormat#createEntry(String,Map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |