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 .