Class CSVUtil


  • public final class CSVUtil
    extends Object
    A utility class for reading csv files
    Since:
    0.5.0
    • Method Detail

      • readAll

        @NotNull
        public static @NotNull List<String[]> readAll​(@NotNull
                                                      @NotNull InputStream inputStream)
                                               throws IOException
        Reads the entire file and returns it as a list of strings.
        Parameters:
        inputStream - the input stream to read from
        Returns:
        a list of strings containing the values inside the file
        Throws:
        IOException - when reading fails for any reason
        Since:
        0.5.0