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