Class DurationTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
de.hybris.platform.testweb.taglib.DurationTag
- All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.SimpleTag
public class DurationTag
extends javax.servlet.jsp.tagext.SimpleTagSupport
Formats duration in milliseconds into human readable form. If format is not provided default 'mm:ss:SSS' will be used.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
DurationTag
public DurationTag()
-
-
Method Details
-
doTag
- Specified by:
doTagin interfacejavax.servlet.jsp.tagext.SimpleTag- Overrides:
doTagin classjavax.servlet.jsp.tagext.SimpleTagSupport- Throws:
javax.servlet.jsp.JspExceptionIOException
-
setFormat
-
setValue
public void setValue(long value)
-