public final class WriteResultsIntoDirectoryFactory extends Object implements ResultWriterFactory
Constructor and Description |
---|
WriteResultsIntoDirectoryFactory(File directory,
String encoding)
Constructs a factory that write reports
into the given directory with the given
encoding.
|
Modifier and Type | Method and Description |
---|---|
Writer |
writerFor(Result result)
Creates a suitable write for the given report.
|
public Writer writerFor(Result result) throws IOException
writerFor
in interface ResultWriterFactory
result
- not nullIOException
- when the report cannot be writtenResultWriterFactory.writerFor(Result)
Copyright © 2011–1970 Apache Software Foundation. All rights reserved.