|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UaProcessor
Interface defines three phase processing of a set of User-Agent Header Values:
process()process()process()
| Nested Class Summary | |
|---|---|
static class |
UaProcessor.Base
Base implementation of UaProcessor accepting a BufferedReader from which UA Strings can be read
and a Provider to use to do detections |
| Method Summary | |
|---|---|
void |
printStats(PrintWriter output)
Writes timings (overall) of of a detection test |
void |
process()
Process the set of UA Headers |
void |
writeResults(BufferedWriter writer)
Writes results (for each UA string) of detection test |
| Method Detail |
|---|
void process()
throws Exception
Exception - if there was a problem accessing data file.void printStats(PrintWriter output)
output - a PrintWriter to report the timings on
void writeResults(BufferedWriter writer)
throws IOException
writer - a BufferedWriter to write the results to
IOException - if there was a problem accessing data file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||