SheetParser class
Classe utilitaire pour lire et extraire des données depuis un fichier Excel. Elle contient les constantes de colonnes attendues et les fonctions de parsing.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
exportResult(
List< Student> students, List<School> schools) → List<int> -
extractStudents(
Excel excel, List< School> schools) → List<Student> -
Associe les écoles aux choix de chaque étudiant via la liste
schools
. -
fillSheetWithChoices(
Sheet sheet, List< (int, int, Choice)> choices, List<Student> students, bool applyColors) → void -
parseExcel(
String path) → Excel - Charge un fichier Excel à partir de son chemin et retourne un objet Excel. Lève une exception personnalisée si le fichier est invalide.
-
parseSchools(
Excel file) → List< School> -
saveExcelToDisk(
String path, List< int> bytes) → int -
setupSheetHeaders(
Sheet sheet, Map< int, String> indexes) → void -
specializationStringToList(
String specialization) → List< String>