private static class PortletRequestUtils.FloatParser extends PortletRequestUtils.ParameterParser<java.lang.Float>
Modifier | Constructor and Description |
---|---|
private |
FloatParser() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Float |
doParse(java.lang.String parameter) |
protected java.lang.String |
getType() |
float |
parseFloat(java.lang.String name,
java.lang.String parameter) |
float[] |
parseFloats(java.lang.String name,
java.lang.String[] values) |
parse, validateRequiredParameter
protected java.lang.String getType()
getType
in class PortletRequestUtils.ParameterParser<java.lang.Float>
protected java.lang.Float doParse(java.lang.String parameter) throws java.lang.NumberFormatException
doParse
in class PortletRequestUtils.ParameterParser<java.lang.Float>
java.lang.NumberFormatException
public float parseFloat(java.lang.String name, java.lang.String parameter) throws PortletRequestBindingException
PortletRequestBindingException
public float[] parseFloats(java.lang.String name, java.lang.String[] values) throws PortletRequestBindingException
PortletRequestBindingException