public class StatusCodeConverter extends Object implements ValueConverter
Constructor and Description |
---|
StatusCodeConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
convert(Value value,
Class type)
Convert simple to specific type.
|
boolean |
supports(Class type)
True if the converter applies for the given type.
|
public boolean supports(Class type)
ValueConverter
supports
in interface ValueConverter
type
- Conversion type.public Object convert(Value value, Class type)
ValueConverter
convert
in interface ValueConverter
value
- Value value.type
- Requested type.Copyright © 2019. All rights reserved.