Interface CSVReader<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default List<T> read​(File csvFile)
      Method for reading the given csv file (without a column definition) and converting the lines to the specific element type
      default List<T> read​(File csvFile, boolean containsColumndefinition)
      Method for reading the given csv file (without a column definition) and converting the lines to the specific element type
      List<T> read​(File csvFile, boolean containsColumndefinition, boolean useFileColumnDefinition)
      Method for reading the given csv file and converting the lines to the specific element type
    • Method Detail

      • read

        default List<T> read​(File csvFile)
        Method for reading the given csv file (without a column definition) and converting the lines to the specific element type
        Parameters:
        csvFile - source file to read
        Returns:
        the read elements
      • read

        default List<T> read​(File csvFile,
                             boolean containsColumndefinition)
        Method for reading the given csv file (without a column definition) and converting the lines to the specific element type
        Parameters:
        csvFile - source file to read
        containsColumndefinition - flag which signals if the file contains a column definition which will be ignored
        Returns:
        the read elements
      • read

        List<T> read​(File csvFile,
                     boolean containsColumndefinition,
                     boolean useFileColumnDefinition)
        Method for reading the given csv file and converting the lines to the specific element type
        Parameters:
        csvFile - source file to read
        containsColumndefinition - flag which signals if the file contains a column definition
        useFileColumnDefinition - flag if the column definition in the csv file should be used instead of a given one (only used if containsColumndefinition == true)
        Returns:
        the read elements