Class CSVFileScanner


  • public class CSVFileScanner
    extends Object
    • Constructor Detail

      • CSVFileScanner

        public CSVFileScanner()
    • Method Detail

      • scanCsvForValues

        protected static CSVScanResult scanCsvForValues​(File file,
                                                        List<String> values)
                                                 throws org.apache.maven.plugin.MojoExecutionException
        Scans a csv file to calculate success/failure counts. Will also take a list of failure messages to search for
        Parameters:
        file - The file to parse
        values - Failure messages to search for
        Returns:
        A map of failure messages/associated count for failure messages explicitly searched for
        Throws:
        org.apache.maven.plugin.MojoExecutionException - When an error occurs while reading the file