org.springframework.web.bind
Class ServletRequestUtils.LongParser
java.lang.Object
org.springframework.web.bind.ServletRequestUtils.ParameterParser<java.lang.Long>
org.springframework.web.bind.ServletRequestUtils.LongParser
- Enclosing class:
- ServletRequestUtils
private static class ServletRequestUtils.LongParser
- extends ServletRequestUtils.ParameterParser<java.lang.Long>
Method Summary |
protected java.lang.Long |
doParse(java.lang.String parameter)
|
protected java.lang.String |
getType()
|
long |
parseLong(java.lang.String name,
java.lang.String parameter)
|
long[] |
parseLongs(java.lang.String name,
java.lang.String[] values)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletRequestUtils.LongParser
private ServletRequestUtils.LongParser()
getType
protected java.lang.String getType()
- Specified by:
getType
in class ServletRequestUtils.ParameterParser<java.lang.Long>
doParse
protected java.lang.Long doParse(java.lang.String parameter)
throws java.lang.NumberFormatException
- Specified by:
doParse
in class ServletRequestUtils.ParameterParser<java.lang.Long>
- Throws:
java.lang.NumberFormatException
parseLong
public long parseLong(java.lang.String name,
java.lang.String parameter)
throws ServletRequestBindingException
- Throws:
ServletRequestBindingException
parseLongs
public long[] parseLongs(java.lang.String name,
java.lang.String[] values)
throws ServletRequestBindingException
- Throws:
ServletRequestBindingException