public class IntegerConverter extends Object implements com.vaadin.data.util.converter.Converter<String,Integer>
| Constructor and Description |
|---|
IntegerConverter() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
convertToModel(String value,
Class<? extends Integer> targetType,
Locale locale) |
String |
convertToPresentation(Integer value,
Class<? extends String> targetType,
Locale locale) |
Class<Integer> |
getModelType() |
Class<String> |
getPresentationType() |
public Integer convertToModel(String value, Class<? extends Integer> targetType, Locale locale) throws com.vaadin.data.util.converter.Converter.ConversionException
public String convertToPresentation(Integer value, Class<? extends String> targetType, Locale locale) throws com.vaadin.data.util.converter.Converter.ConversionException
Copyright © 2015. All rights reserved.