public class HarTimeStamp
extends java.lang.Object
Constructor and Description |
---|
HarTimeStamp(org.codehaus.jackson.JsonParser jp,
java.util.List<HarWarning> warnings)
Creates a new
HarPageTiming object from a JsonParser already
positioned at the beginning of the element content |
HarTimeStamp(java.lang.Long time,
java.lang.String lable)
Creates a new
HarPageTiming object |
public HarTimeStamp(java.lang.Long time, java.lang.String lable)
HarPageTiming
objecttime
- onContentLoad (DOMContentLoaded) or onLoad (load) Eventlable
- description of time DOMContentLoaded or loadpublic HarTimeStamp(org.codehaus.jackson.JsonParser jp, java.util.List<HarWarning> warnings) throws org.codehaus.jackson.JsonParseException, java.io.IOException
HarPageTiming
object from a JsonParser already
positioned at the beginning of the element contentjp
- a JsonParser already positioned at the beginning of the element
contentwarnings
- null if parser should fail on first error, pointer to
warning list if warnings can be issued for missing fieldsorg.codehaus.jackson.JsonParseException
java.io.IOException
public java.lang.Long getTime()
public void setTime(java.lang.Long time)
time
- The time to set.public java.lang.String getLable()
public void setLable(java.lang.String lable)
lable
- The lable to set.Copyright © 2011 Emmanuel Cecchet - University of Massachusetts - All Rights Reserved.