org.diirt.util.text.CsvParserResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of diirt-util Show documentation
Show all versions of diirt-util Show documentation
Basic Java utility classes to be shared across projects until
suitable replacements are available in the JDK.
The newest version!
/**
* Copyright (C) 2010-18 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.util.text;
import java.util.List;
import org.diirt.util.array.ListDouble;
import org.diirt.util.array.ListNumber;
/**
* The result of the CSV parsing.
*
* This class contains all the information about the parsing: whether it was
* successful, an error message, the parsed data, the parsed header and
* the column type.
*
* TODO: the error handling could be extended to include multiple error messages
* while still giving a best effort result (e.g. skipping the lines that
* can't be parsed).
*
* @author carcassi
*/
public class CsvParserResult {
private final List columnNames;
private final List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy