Class ViLLeCsvFile
java.lang.Object
studentrepoloader.model.villecsv.ViLLeCsvFile
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 Summary
ConstructorsConstructorDescriptionViLLeCsvFile
(File file) Parses a ViLLe-exported CSV file using the provided parser. -
Method Summary
-
Constructor Details
-
ViLLeCsvFile
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
-
getDelimiter
public char getDelimiter() -
getHeader
-
getHeaderItems
-
getRows
-
getEntries
-
summary
-