org.w3c.tools.log
Class DNSResolver
java.lang.Object
org.w3c.tools.log.DNSResolver
public class DNSResolver
- extends java.lang.Object
Constructor Summary |
DNSResolver(java.io.BufferedReader bf)
|
DNSResolver(java.io.BufferedReader bf,
boolean timestamp,
boolean resolve)
|
DNSResolver(java.io.BufferedReader bf,
int cacheSize)
|
DNSResolver(java.io.BufferedReader bf,
int cacheSize,
boolean timestamp,
boolean resolve)
create a new Resovler engine |
Method Summary |
void |
readLog()
the main loop, works on the reader provided at initialization |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DNSResolver
public DNSResolver(java.io.BufferedReader bf,
int cacheSize,
boolean timestamp,
boolean resolve)
- create a new Resovler engine
- Parameters:
bf,
- a buffered reader, the log sourcecacheSize
- the number of threads used to do resolutiontimestamp
- if set, the resolver will add a numeric timestamp
useful to sort mixed entriesresolve
- if set, it will do DNS resolution of the entry
DNSResolver
public DNSResolver(java.io.BufferedReader bf,
int cacheSize)
DNSResolver
public DNSResolver(java.io.BufferedReader bf,
boolean timestamp,
boolean resolve)
DNSResolver
public DNSResolver(java.io.BufferedReader bf)
readLog
public void readLog()
- the main loop, works on the reader provided at initialization