Package com.gophers.structures.domain
Class StudentDetails
java.lang.Object
com.gophers.structures.domain.StudentDetails
Represents details of a student derived from a submission file name.
-
Constructor Summary
ConstructorsConstructorDescriptionStudentDetails(String submission) Constructor to parse student details from the submission file name. -
Method Summary
-
Constructor Details
-
StudentDetails
Constructor to parse student details from the submission file name.- Parameters:
submission- File path or name of the student's submission.- Throws:
IllegalArgumentException- if the submission name does not match the required format.
-
-
Method Details
-
toPDFData
Converts the student details into a map format suitable for PDF generation.- Returns:
- A map containing the PDF data for the student's details.
-
toString
Provides a string representation of the student details.
-