scala - Auto detect column types in OpenCSV -


i'm reading file opencsv way (in scala):

val reader = new csvreader(new filereader("somefile.txt")) (row <- reader.readall) {     println("col(0): " + row(0) + " col(1)" + row(1) ) } 

since file provided user, don't know format, need know each column type (number, string, etc.). possible opencsv ? if not, there library can auto detect column types?


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -