public class HarFileReader
extends java.lang.Object
| Constructor and Description |
|---|
HarFileReader() |
| Modifier and Type | Method and Description |
|---|---|
HarLog |
readHarFile(java.io.File file)
Read the given file and build the corresponding HarLog object hierarchy in
memory.
|
HarLog |
readHarFile(java.io.File file,
java.util.List<HarWarning> warnings)
Read the given file and build the corresponding HarLog object hierarchy in
memory.
|
HarLog |
readHarFile(java.io.InputStream stream,
java.util.List<HarWarning> warnings)
Read the given InputStream and build the corresponding HarLog object
hierarchy in memory.
|
HarLog |
readHarFile(org.codehaus.jackson.JsonParser jp,
java.util.List<HarWarning> warnings)
Read the given file and build the corresponding HarLog object hierarchy in
memory.
|
public HarLog readHarFile(org.codehaus.jackson.JsonParser jp, java.util.List<HarWarning> warnings) throws org.codehaus.jackson.JsonParseException, java.io.IOException
jp - The Json parserwarnings - null if parser should fail on first error, pointer to
warning list if warnings can be issued for missing fieldsorg.codehaus.jackson.JsonParseException - if a parsing error occursjava.io.IOException - if an IO error occurspublic HarLog readHarFile(java.io.File file) throws org.codehaus.jackson.JsonParseException, java.io.IOException
file - The file to readorg.codehaus.jackson.JsonParseException - if a parsing error occursjava.io.IOException - if an IO error occurspublic HarLog readHarFile(java.io.File file, java.util.List<HarWarning> warnings) throws org.codehaus.jackson.JsonParseException, java.io.IOException
file - The file to readwarnings - null if parser should fail on first error, pointer to
warning list if warnings can be issued for missing fieldsorg.codehaus.jackson.JsonParseException - if a parsing error occursjava.io.IOException - if an IO error occurspublic HarLog readHarFile(java.io.InputStream stream, java.util.List<HarWarning> warnings) throws org.codehaus.jackson.JsonParseException, java.io.IOException
stream - The stream to read fromwarnings - null if parser should fail on first error, pointer to
warning list if warnings can be issued for missing fieldsorg.codehaus.jackson.JsonParseException - if a parsing error occursjava.io.IOException - if an IO error occursCopyright © 2011 Emmanuel Cecchet - University of Massachusetts - All Rights Reserved.