Package sc2002.FCS1.grp2
Class CSVDecodable
Object
CSVDecodable
- Direct Known Subclasses:
Application,BTOProject,Enquiry,Message,User
The purpose of this abstract class is to provide a common constructor for the CSVParser class to construct objects.
This allows for a consistent CSV file decoding experience, of which all decodable files should subscribe to.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CSVDecodable(List<CSVCell> cells) The CSVDecodable constructor should not be called directly. -
Method Summary
-
Constructor Details
-
CSVDecodable
The CSVDecodable constructor should not be called directly. Please override this constructor in the child classes.- Parameters:
cells- Represents a row of values, in the CSV file. Should only be provided by the CSVParser class.
-
CSVDecodable
CSVDecodable()Default constructor.
-