Questions tagged [supercsv]

Super CSV is a fast and free open-source CSV API for Java.

Super CSV is a fast and free open-source CSV API for Java, written by Kasper Graversen.

The developers of Super CSV follow this tag, so you can receive expert advice on your Super CSV problems by using this tag.

Before asking a question, check the documentation and examples on the project website.

Please note that you can also receive help at the project's GitHub site, as well as report any issues you have encountered.

Related Links:

202 questions
-1
votes
1 answer

how to ignore an unknown column in super csv

I m using super csv's bean reader to read my csv files. It works fine if the POJO and columns match. For eg My pojo has theses values. //They have getters and setters. //just to make it simple I have used public. public myPojo { public columnA; …
user1364861
  • 301
  • 1
  • 2
  • 16
-1
votes
1 answer

Custom Cell Processor for Lists

I am trying to create a custom cell processor for SuperCSV that will handle a list from a field within the file. I have altered the bean constructor to accommodate the lists, now I just need to create the processor and I was wondering if anyone had…
jmpman
  • 23
  • 1
  • 13
-1
votes
2 answers

org.supercsv.exception.SuperCsvException: unexpected end of file while reading quoted column beginning on line

I'm reading csv files using superCSV reader and got the following exception. the file has 80000 lines. As I remove the end lines the exception still happens so there's some line in file that's causing this problem. how do I fix…
user121196
  • 30,032
  • 57
  • 148
  • 198
-1
votes
1 answer

Cannot use supercsv while running a jar file in Java (windows)

When I give the following command java -Xmx500m -jar bc.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 I am getting the following Exception Throwable Error: java.lang.NoClassDefFoundError: org/supercsv/prefs/CsvPreference Exception in thread "main"…
Anand
  • 1,067
  • 3
  • 11
  • 24
-1
votes
2 answers

Java: CSV parser - skipping quotes

is there any way to parse CSV file (variable number of columns) with the help of some CSV parser (e.g. SuperCSV) to set of List without skipping quotes in Java? For the input: id,name,text,sth 1,"John","Text with 'c,o,m,m,a,s' and…
user3521479
  • 565
  • 1
  • 5
  • 12
-2
votes
2 answers

Error regarding usage of super csv bean reader

I have the following dependency added: net.sf.supercsv super-csv 2.4.0 private final static String[] COLS = { "col1", "col2", "col3",…
Atom
  • 768
  • 1
  • 15
  • 35