Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.vaadin.v7.data.util.converter.Converter

        com.vaadin.v7.data.util.converter.Converter.ConversionException
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CsvListConverter

        public CsvListConverter()
    • 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 interface com.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 interface com.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 interface com.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 interface com.vaadin.v7.data.util.converter.Converter<java.lang.String,​java.util.ArrayList<java.lang.String>>