public class CSVDataInput
extends java.lang.Object
Constructor and Description |
---|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset)
Instantiate.
|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset,
char delimiter)
Instantiate.
|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset,
char delimiter,
char quote)
Instantiate.
|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset,
char delimiter,
char quote,
char escape)
Instantiate.
|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset,
char delimiter,
char quote,
char escape,
char[] linebreak)
Instantiate.
|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset,
char delimiter,
char quote,
char escape,
char[] linebreak,
CSVOptions options)
Instantiate.
|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset,
CSVSyntax config)
Instantiate.
|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset,
CSVSyntax config,
CSVOptions options)
Instantiate.
|
CSVDataInput(java.io.File file,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatype)
Instatiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
char delimiter)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
char delimiter,
char quote)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
char delimiter,
char quote,
char escape)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
char delimiter,
char quote,
char escape,
char[] linebreak)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
char delimiter,
char quote,
char escape,
char[] linebreak,
CSVOptions options)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
CSVSyntax config)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
CSVSyntax config,
CSVOptions options)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatypes)
Instantiate.
|
CSVDataInput(java.io.InputStream stream,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatypes,
CSVOptions options)
Instantiate.
|
CSVDataInput(java.io.Reader reader,
char delimiter,
char quote,
char escape,
char[] linebreak,
DataType<?>[] datatypes)
Instantiate.
|
CSVDataInput(java.io.Reader reader,
char delimiter,
char quote,
char escape,
char[] linebreak,
DataType<?>[] datatypes,
CSVOptions options)
Instantiate.
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset)
Instantiate.
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset,
char delimiter)
Instantiate.
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset,
char delimiter,
char quote)
Instantiate.
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset,
char delimiter,
char quote,
char escape)
Instantiate.
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset,
char delimiter,
char quote,
char escape,
char[] linebreak)
Instantiate.
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset,
char delimiter,
char quote,
char escape,
char[] linebreak,
CSVOptions options)
Instantiate.
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset,
CSVSyntax config)
Instantiate.
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset,
CSVSyntax config,
CSVOptions options)
Instantiate
|
CSVDataInput(java.lang.String filename,
java.nio.charset.Charset charset,
CSVSyntax config,
DataType<?>[] datatypes)
Instantiate.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the reader.
|
java.util.Iterator<java.lang.String[]> |
iterator()
Returns an iterator.
|
java.util.Iterator<java.lang.String[]> |
iterator(boolean header)
Returns an iterator.
|
public CSVDataInput(java.io.File file, java.nio.charset.Charset charset) throws java.io.IOException
file
- the filejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.File file, java.nio.charset.Charset charset, char delimiter) throws java.io.IOException
file
- the filedelimiter
- the delimiterjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.File file, java.nio.charset.Charset charset, char delimiter, char quote) throws java.io.IOException
file
- the filedelimiter
- the delimiterquote
- the quotejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.File file, java.nio.charset.Charset charset, char delimiter, char quote, char escape) throws java.io.IOException
file
- the filedelimiter
- the delimiterquote
- the quoteescape
- the escapejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.File file, java.nio.charset.Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws java.io.IOException
file
- the filedelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.File file, java.nio.charset.Charset charset, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) throws java.io.IOException
file
- the filedelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakoptions
- java.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.File file, java.nio.charset.Charset charset, CSVSyntax config) throws java.io.IOException
file
- the fileconfig
- the configjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.File file, java.nio.charset.Charset charset, CSVSyntax config, CSVOptions options) throws java.io.IOException
file
- the fileconfig
- the configoptions
- the optionsjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.File file, java.nio.charset.Charset charset, CSVSyntax config, DataType<?>[] datatype) throws java.io.IOException
file
- config
- datatype
- java.io.IOException
public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset) throws java.io.IOException
stream
- the streamjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset, char delimiter) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset, char delimiter, char quote) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterquote
- the quotejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset, char delimiter, char quote, char escape) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterquote
- the quoteescape
- the escapejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) throws java.io.IOException
stream
- the streamdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakoptions
- java.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset, CSVSyntax config) throws java.io.IOException
stream
- the streamconfig
- the configjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset, CSVSyntax config, CSVOptions options) throws java.io.IOException
stream
- the streamconfig
- the configoptions
- the optionsjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset, CSVSyntax config, DataType<?>[] datatypes) throws java.io.IOException
stream
- config
- datatypes
- java.io.IOException
public CSVDataInput(java.io.InputStream stream, java.nio.charset.Charset charset, CSVSyntax config, DataType<?>[] datatypes, CSVOptions options) throws java.io.IOException
stream
- config
- datatypes
- options
- java.io.IOException
public CSVDataInput(java.io.Reader reader, char delimiter, char quote, char escape, char[] linebreak, DataType<?>[] datatypes) throws java.io.IOException
reader
- the readerdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.io.Reader reader, char delimiter, char quote, char escape, char[] linebreak, DataType<?>[] datatypes, CSVOptions options) throws java.io.IOException
reader
- the readerdelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakoptions
- the optionsjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.lang.String filename, java.nio.charset.Charset charset) throws java.io.IOException
filename
- the filenamejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.lang.String filename, java.nio.charset.Charset charset, char delimiter) throws java.io.IOException
filename
- the filenamedelimiter
- the delimiterjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.lang.String filename, java.nio.charset.Charset charset, char delimiter, char quote) throws java.io.IOException
filename
- the filenamedelimiter
- the delimiterquote
- the quotejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.lang.String filename, java.nio.charset.Charset charset, char delimiter, char quote, char escape) throws java.io.IOException
filename
- the filenamedelimiter
- the delimiterquote
- the quoteescape
- the escapejava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.lang.String filename, java.nio.charset.Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws java.io.IOException
filename
- the filenamedelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.lang.String filename, java.nio.charset.Charset charset, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) throws java.io.IOException
filename
- the filenamedelimiter
- the delimiterquote
- the quoteescape
- the escapelinebreak
- the linebreakoptions
- java.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.lang.String filename, java.nio.charset.Charset charset, CSVSyntax config) throws java.io.IOException
filename
- the filenameconfig
- the configjava.io.IOException
- Signals that an I/O exception has occurred.public CSVDataInput(java.lang.String filename, java.nio.charset.Charset charset, CSVSyntax config, CSVOptions options) throws java.io.IOException
filename
- charset
- config
- options
- java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
- Signals that an I/O exception has occurred.public java.util.Iterator<java.lang.String[]> iterator()
public java.util.Iterator<java.lang.String[]> iterator(boolean header)