liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/CsvToBean.java
protected T processLine(MappingStrategy<T> mapper, String[] line) throws ReflectiveOperationException, IntrospectionException {
      T bean = mapper.createBean();
      for (int col = 0; col < line.length; col++) {
         if (mapper.isAnnotationDriven()) {
            processField(mapper, line, bean, col);
         } else {
            processProperty(mapper, line, bean, col);
         }
      }
      return bean;
   }
protected T processLine(MappingStrategy<T> mapper, String[] line) throws ReflectiveOperationException, IntrospectionException {
      T bean = mapper.createBean();
      for (int col = 0; col < line.length; col++) {
         if (mapper.isAnnotationDriven()) {
            processField(mapper, line, bean, col);
         } else {
            processProperty(mapper, line, bean, col);
         }
      }
      return bean;
   }
Creates a single object from a line from the csv file.
@param mapper - MappingStrategy
@param line  - array of Strings from the csv file.
@return - object containing the values.
@throws ReflectiveOperationException - thrown on error accessing bean.
@throws IntrospectionException - thrown on error getting the PropertyDescriptor.