T
Tom Whittaker
I am creating an application that will allow the user to specify
different types of input files, and then my application reads in the
file, parses it, extracts rows and columns/fields, and stores the
contents in a mySQL table (my common format for all input data). I
never change the file I read in. I read it once and discard it.
For example, a file could be an Excel file or a database file.
I'm thinking about using the strategy pattern, or potentially the
template method pattern.
Does anyone have any insight into the best design pattern(s) to use
for this feature?
different types of input files, and then my application reads in the
file, parses it, extracts rows and columns/fields, and stores the
contents in a mySQL table (my common format for all input data). I
never change the file I read in. I read it once and discard it.
For example, a file could be an Excel file or a database file.
I'm thinking about using the strategy pattern, or potentially the
template method pattern.
Does anyone have any insight into the best design pattern(s) to use
for this feature?