|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jacoco.report.FileMultiReportOutput
public class FileMultiReportOutput
Implementation of IMultiReportOutput
that writes files directly to a
given directory.
Constructor Summary | |
---|---|
FileMultiReportOutput(File basedir)
Creates a new instance for document output in the given base directory. |
Method Summary | |
---|---|
void |
close()
Closes the underlying resource container. |
OutputStream |
createFile(String path)
Creates a file at the given local path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileMultiReportOutput(File basedir)
basedir
- base directoryMethod Detail |
---|
public OutputStream createFile(String path) throws IOException
IMultiReportOutput
OutputStream
has to be closed before the next document is created.
createFile
in interface IMultiReportOutput
path
- local path to the new document
IOException
- if the creation failspublic void close() throws IOException
IMultiReportOutput
close
in interface IMultiReportOutput
IOException
- if closing fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |