Class CsvListConverter
- java.lang.Object
-
- org.opennms.features.vaadin.events.CsvListConverter
-
- All Implemented Interfaces:
com.vaadin.v7.data.util.converter.Converter<java.lang.String,java.util.ArrayList<java.lang.String>>
,java.io.Serializable
public class CsvListConverter extends java.lang.Object implements com.vaadin.v7.data.util.converter.Converter<java.lang.String,java.util.ArrayList<java.lang.String>>
The CSV List Converter.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CsvListConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<java.lang.String>
convertToModel(java.lang.String fieldValue, java.lang.Class<? extends java.util.ArrayList<java.lang.String>> targetType, java.util.Locale locale)
java.lang.String
convertToPresentation(java.util.ArrayList<java.lang.String> propertyValue, java.lang.Class<? extends java.lang.String> targetType, java.util.Locale locale)
java.lang.Class<java.util.ArrayList<java.lang.String>>
getModelType()
java.lang.Class<java.lang.String>
getPresentationType()
-
-
-
Method Detail
-
convertToModel
public java.util.ArrayList<java.lang.String> convertToModel(java.lang.String fieldValue, java.lang.Class<? extends java.util.ArrayList<java.lang.String>> targetType, java.util.Locale locale) throws com.vaadin.v7.data.util.converter.Converter.ConversionException
- Specified by:
convertToModel
in interfacecom.vaadin.v7.data.util.converter.Converter<java.lang.String,java.util.ArrayList<java.lang.String>>
- Throws:
com.vaadin.v7.data.util.converter.Converter.ConversionException
-
convertToPresentation
public java.lang.String convertToPresentation(java.util.ArrayList<java.lang.String> propertyValue, java.lang.Class<? extends java.lang.String> targetType, java.util.Locale locale) throws com.vaadin.v7.data.util.converter.Converter.ConversionException
- Specified by:
convertToPresentation
in interfacecom.vaadin.v7.data.util.converter.Converter<java.lang.String,java.util.ArrayList<java.lang.String>>
- Throws:
com.vaadin.v7.data.util.converter.Converter.ConversionException
-
getModelType
public java.lang.Class<java.util.ArrayList<java.lang.String>> getModelType()
- Specified by:
getModelType
in interfacecom.vaadin.v7.data.util.converter.Converter<java.lang.String,java.util.ArrayList<java.lang.String>>
-
getPresentationType
public java.lang.Class<java.lang.String> getPresentationType()
- Specified by:
getPresentationType
in interfacecom.vaadin.v7.data.util.converter.Converter<java.lang.String,java.util.ArrayList<java.lang.String>>
-
-