User Activity

  • Modified a comment on ticket #139 on opencsv

    I have read this and tested it. I didn't have to put # also after the \n . But probably i'm missing something. For me the whole line was skipped. What I expected. But to think of it maybe i have to test it on a unix machine.

  • Posted a comment on ticket #139 on opencsv

    Nevermind i created an extension of the BufferedReader with the same functionality: public class SkipLineBufferedReader extends BufferedReader { private String indicatorToSkipLine; public SkipLineBufferedReader(Reader in, String indicatorToSkipLine) { super(in); this.indicatorToSkipLine = indicatorToSkipLine; } @Override public String readLine() throws IOException { String result = super.readLine(); if (StringUtils.startsWith(StringUtils.strip(result), indicatorToSkipLine)) { return readLine(); }...

  • Posted a comment on ticket #139 on opencsv

    I have read this and tested it. I didn't have to put # also after the \n . But probably i'm missing something. For met the whole line was skipped. What I expected. But to think of it maybe i have to test it on a unix machine.

  • Posted a comment on ticket #139 on opencsv

    If I extend from the CSVReader and do the following. What could be the problem ? package com.opencsv; import com.opencsv.processor.RowProcessor; import com.opencsv.validators.LineValidatorAggregator; import com.opencsv.validators.RowValidatorAggregator; import org.apache.commons.lang3.StringUtils; import java.io.IOException; import java.io.Reader; import java.util.Locale; public class ExtendedCSVReader extends CSVReader { private final String indicatorToSkipLine; ExtendedCSVReader(String indicatorToSkipLine,...

View All

Personal Data

Username:
drnickit
Joined:
2022-12-13 16:08:59.748000

Projects

  • No projects to display.

Personal Tools