public class HarFileWriter
extends java.lang.Object
Constructor and Description |
---|
HarFileWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeHarFile(HarLog log,
java.io.File file)
Write a HarLog object into a file.
|
void |
writeHarFile(HarLog log,
org.codehaus.jackson.JsonGenerator generator)
Write a HarLog object into a file.
|
void |
writeHarFile(HarLog log,
java.io.OutputStream os)
Write a HarLog object into an OutputStream.
|
public void writeHarFile(HarLog log, org.codehaus.jackson.JsonGenerator generator) throws java.io.IOException
log
- the HarLog to write to a filegenerator
- the Json generatorjava.io.IOException
- if an error occurs writing the filepublic void writeHarFile(HarLog log, java.io.File file) throws java.io.IOException
log
- the HarLog to write to a filefile
- the file to write the HAR tojava.io.IOException
- if an error occurs writing the filepublic void writeHarFile(HarLog log, java.io.OutputStream os) throws java.io.IOException
log
- the HarLog to write to an OutputStreamos
- the OutputStream to write the HAR tojava.io.IOException
- if an error occurs writing into the OutputStreamCopyright © 2011 Emmanuel Cecchet - University of Massachusetts - All Rights Reserved.