private static class PortletRequestUtils.DoubleParser extends PortletRequestUtils.ParameterParser<java.lang.Double>
Modifier | Constructor and Description |
---|---|
private |
DoubleParser() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Double |
doParse(java.lang.String parameter) |
protected java.lang.String |
getType() |
double |
parseDouble(java.lang.String name,
java.lang.String parameter) |
double[] |
parseDoubles(java.lang.String name,
java.lang.String[] values) |
parse, validateRequiredParameter
protected java.lang.String getType()
getType
in class PortletRequestUtils.ParameterParser<java.lang.Double>
protected java.lang.Double doParse(java.lang.String parameter) throws java.lang.NumberFormatException
doParse
in class PortletRequestUtils.ParameterParser<java.lang.Double>
java.lang.NumberFormatException
public double parseDouble(java.lang.String name, java.lang.String parameter) throws PortletRequestBindingException
PortletRequestBindingException
public double[] parseDoubles(java.lang.String name, java.lang.String[] values) throws PortletRequestBindingException
PortletRequestBindingException