public class TestCsvUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
doesCsvFileContainString(CSVReader.OpenedCSVFile file,
String str)
Checks if a particular string can be found in any cell of a CSV file
|
public static boolean doesCsvFileContainString(CSVReader.OpenedCSVFile file, String str) throws IOException
file
- a csv-file to search through its cellsstr
- string to search for in any of the cells in the CsvFile (it may also be a
substring of the cell)IOException
- if something goes wrong reading the csv-fileCopyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.