Class ViLLeCsvUtils

java.lang.Object
studentrepoloader.model.villecsv.ViLLeCsvUtils

public final class ViLLeCsvUtils extends Object
Static utility class for parsing and validating CSV files exported from the ViLLe learning platform.

This class handles ViLLe-specific quirks: configurable delimiters, trailing delimiters, multiline open-ended fields, nonstandard field counts, and structural validation. Not a general-purpose CSV utility.

If ViLLe exports standard CSVs in the future, replace all usage of this class with a standard library.

Responsibilities:

  • Delimiter inference from header
  • Parsing multiline entries with internal newlines
  • Validating field counts per entry
  • Regex and delimiter-based entry count heuristics
  • Field-level sanity checks (email, date, score, etc.)

Do not instantiate.