public static class ParamParsers.LongParamParser extends Object implements ParamParser<Long>
Constructor and Description |
---|
LongParamParser() |
Modifier and Type | Method and Description |
---|---|
Class<Long> |
getParsedType()
Get the type that this parser parses to
|
Long |
parseParameter(String field,
String parameterValue,
Validation validation)
Parse the given parameter value
|
public Long parseParameter(String field, String parameterValue, Validation validation)
ParamParser
parseParameter
in interface ParamParser<Long>
field
- The field that is being parsedparameterValue
- The value to parse. May be null.validation
- The validation context.public Class<Long> getParsedType()
ParamParser
getParsedType
in interface ParamParser<Long>
Copyright © 2019 ninjaframework. All rights reserved.