public class CSVReaderBuilder extends Object
DefaultConfiguration.| Modifier and Type | Field and Description |
|---|---|
static char |
NULL_CHAR |
| 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 final char NULL_CHAR
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.CSVParserIOExceptionpublic 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.IOExceptionCopyright © 2010–2017 The Apache Software Foundation. All rights reserved.