Microsoft Excel has a nice “Text Import Wizard” to help load files that are not .xls or .csv files. The user specifies the delimiter used (or the fixed width), as well as some information about column types (general, dates, etc.). Are there any open-source Java libraries that can mimic a similar sort of functionality and allow one to put the results into home-brewed data structures?
To clarify, suppose I have a data structure to represent essentially a 2D spreadsheet. I would like to populate that data structure from a file that might be tab-delimited, comma-delimited, etc (these files might be huge BTW). I know there exist a bunch of CSV readers, but are there any that also support the type of extra markup related to column types and other types of customized pre-processing?
I’m not an open-source expert, but I would it to be under a license that wouldn’t force me to release my source code. Thanks.
It appears the answer is “No,” there is not a library that has all I wanted. Will’s solution did not include the type of pre-processing that I was hoping for.