com.canoo.webtest.extension.spider
Class SeparatedValueReporter

java.lang.Object
  extended by com.canoo.webtest.extension.spider.SeparatedValueReporter
All Implemented Interfaces:
IReporter

public class SeparatedValueReporter
extends Object
implements IReporter

Author:
Denis N. Antonioli

Field Summary
static String LINE_SEPARATOR
           
static String VALUE_SEPARATOR
           
 
Constructor Summary
SeparatedValueReporter(String[] headers)
           
 
Method Summary
 void setWriter(Writer writer)
          Must be called first to set the output chanel.
 void write(Properties linkInfo)
          Called for each page.
 void writeFooter()
          Called after the last page has been visited.
 void writeHeader()
          Called before the first page has been visited.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_SEPARATOR

public static final String VALUE_SEPARATOR
See Also:
Constant Field Values

LINE_SEPARATOR

public static final String LINE_SEPARATOR
Constructor Detail

SeparatedValueReporter

public SeparatedValueReporter(String[] headers)
Method Detail

setWriter

public void setWriter(Writer writer)
Description copied from interface: IReporter
Must be called first to set the output chanel.

Specified by:
setWriter in interface IReporter

writeHeader

public void writeHeader()
                 throws IOException
Description copied from interface: IReporter
Called before the first page has been visited.

Specified by:
writeHeader in interface IReporter
Throws:
IOException

write

public void write(Properties linkInfo)
           throws IOException
Description copied from interface: IReporter
Called for each page.

Specified by:
write in interface IReporter
Throws:
IOException

writeFooter

public void writeFooter()
Description copied from interface: IReporter
Called after the last page has been visited.

Specified by:
writeFooter in interface IReporter

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.