Class ViLLeCsvFile

java.lang.Object
studentrepoloader.model.villecsv.ViLLeCsvFile

public class ViLLeCsvFile extends Object
Container for parsed contents of a ViLLe-exported CSV file.

Accepts a file and an injected parser implementation (e.g. CsvParser), and exposes the parsed header, rows, and structured student entries.

Used to centralize access to file-derived data for downstream processing.

  • Constructor Details

    • ViLLeCsvFile

      public ViLLeCsvFile(File file)
      Parses a ViLLe-exported CSV file using the provided parser.

      Reads all rows from the file, infers the delimiter from the header, splits header columns, and delegates to the parser to produce entry rows.

      Parameters:
      file - the raw ViLLe export file
  • Method Details

    • getVilleCsvFile

      public File getVilleCsvFile()
    • getDelimiter

      public char getDelimiter()
    • getHeader

      public String getHeader()
    • getHeaderItems

      public String[] getHeaderItems()
    • getRows

      public List<String> getRows()
    • getEntries

      public List<String[]> getEntries()
    • summary

      public String summary()