public class CSVReaderBuilder extends Object
DefaultConfiguration.| Constructor and Description |
|---|
CSVReaderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.commons.csv.CSVParser |
build(InputStream is)
Builds a not
null CSVParser guessing
from the provided CSV file. |
static boolean |
isCSV(InputStream is)
Checks whether the given input stream is a CSV or not.
|
public static org.apache.commons.csv.CSVParser build(InputStream is) throws IOException
null CSVParser guessing
from the provided CSV file.is - InputStream of the CSV file where guess the configuration.CSVParserIOException - if there is an error building the parserpublic static boolean isCSV(InputStream is) throws IOException
is - input stream to be verified.true if the given is input stream contains a CSV content.
false otherwise.IOException - if there is an error processing the input streamCopyright © 2010–2020 The Apache Software Foundation. All rights reserved.