private static class PortletRequestUtils.IntParser extends PortletRequestUtils.ParameterParser<java.lang.Integer>
Modifier | Constructor and Description |
---|---|
private |
IntParser() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Integer |
doParse(java.lang.String s) |
protected java.lang.String |
getType() |
int |
parseInt(java.lang.String name,
java.lang.String parameter) |
int[] |
parseInts(java.lang.String name,
java.lang.String[] values) |
parse, validateRequiredParameter
protected java.lang.String getType()
getType
in class PortletRequestUtils.ParameterParser<java.lang.Integer>
protected java.lang.Integer doParse(java.lang.String s) throws java.lang.NumberFormatException
doParse
in class PortletRequestUtils.ParameterParser<java.lang.Integer>
java.lang.NumberFormatException
public int parseInt(java.lang.String name, java.lang.String parameter) throws PortletRequestBindingException
PortletRequestBindingException
public int[] parseInts(java.lang.String name, java.lang.String[] values) throws PortletRequestBindingException
PortletRequestBindingException