Package org.deidentifier.arx.io
Klasse CSVDataInput
java.lang.Object
org.deidentifier.arx.io.CSVDataInput
This class implements a reader for CSV encoded information.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCSVDataInput(File file, Charset charset) Instantiate.CSVDataInput(File file, Charset charset, char delimiter) Instantiate.CSVDataInput(File file, Charset charset, char delimiter, char quote) Instantiate.CSVDataInput(File file, Charset charset, char delimiter, char quote, char escape) Instantiate.CSVDataInput(File file, Charset charset, char delimiter, char quote, char escape, char[] linebreak) Instantiate.CSVDataInput(File file, Charset charset, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) Instantiate.CSVDataInput(File file, Charset charset, CSVSyntax config) Instantiate.CSVDataInput(File file, Charset charset, CSVSyntax config, DataType<?>[] datatype) Instatiate.CSVDataInput(File file, Charset charset, CSVSyntax config, CSVOptions options) Instantiate.CSVDataInput(InputStream stream, Charset charset) Instantiate.CSVDataInput(InputStream stream, Charset charset, char delimiter) Instantiate.CSVDataInput(InputStream stream, Charset charset, char delimiter, char quote) Instantiate.CSVDataInput(InputStream stream, Charset charset, char delimiter, char quote, char escape) Instantiate.CSVDataInput(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak) Instantiate.CSVDataInput(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) Instantiate.CSVDataInput(InputStream stream, Charset charset, CSVSyntax config) Instantiate.CSVDataInput(InputStream stream, Charset charset, CSVSyntax config, DataType<?>[] datatypes) Instantiate.CSVDataInput(InputStream stream, Charset charset, CSVSyntax config, DataType<?>[] datatypes, CSVOptions options) Instantiate.CSVDataInput(InputStream stream, Charset charset, CSVSyntax config, CSVOptions options) Instantiate.CSVDataInput(Reader reader, char delimiter, char quote, char escape, char[] linebreak, DataType<?>[] datatypes) Instantiate.CSVDataInput(Reader reader, char delimiter, char quote, char escape, char[] linebreak, DataType<?>[] datatypes, CSVOptions options) Instantiate.CSVDataInput(String filename, Charset charset) Instantiate.CSVDataInput(String filename, Charset charset, char delimiter) Instantiate.CSVDataInput(String filename, Charset charset, char delimiter, char quote) Instantiate.CSVDataInput(String filename, Charset charset, char delimiter, char quote, char escape) Instantiate.CSVDataInput(String filename, Charset charset, char delimiter, char quote, char escape, char[] linebreak) Instantiate.CSVDataInput(String filename, Charset charset, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) Instantiate.CSVDataInput(String filename, Charset charset, CSVSyntax config) Instantiate.CSVDataInput(String filename, Charset charset, CSVSyntax config, DataType<?>[] datatypes) Instantiate.CSVDataInput(String filename, Charset charset, CSVSyntax config, CSVOptions options) Instantiate -
Methodenübersicht
-
Konstruktordetails
-
CSVDataInput
Instantiate.- Parameter:
file- the file- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
Instantiate.- Parameter:
file- the filedelimiter- the delimiter- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
Instantiate.- Parameter:
file- the filedelimiter- the delimiterquote- the quote- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(File file, Charset charset, char delimiter, char quote, char escape) throws IOException Instantiate.- Parameter:
file- the filedelimiter- the delimiterquote- the quoteescape- the escape- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(File file, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException Instantiate.- Parameter:
file- the filedelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreak- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(File file, Charset charset, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) throws IOException Instantiate.- Parameter:
file- the filedelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreakoptions-- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
Instantiate.- Parameter:
file- the fileconfig- the config- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(File file, Charset charset, CSVSyntax config, CSVOptions options) throws IOException Instantiate.- Parameter:
file- the fileconfig- the configoptions- the options- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(File file, Charset charset, CSVSyntax config, DataType<?>[] datatype) throws IOException Instatiate.- Parameter:
file-config-datatype-- Löst aus:
IOException
-
CSVDataInput
Instantiate.- Parameter:
stream- the stream- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
Instantiate.- Parameter:
stream- the streamdelimiter- the delimiter- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(InputStream stream, Charset charset, char delimiter, char quote) throws IOException Instantiate.- Parameter:
stream- the streamdelimiter- the delimiterquote- the quote- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(InputStream stream, Charset charset, char delimiter, char quote, char escape) throws IOException Instantiate.- Parameter:
stream- the streamdelimiter- the delimiterquote- the quoteescape- the escape- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException Instantiate.- Parameter:
stream- the streamdelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreak- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(InputStream stream, Charset charset, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) throws IOException Instantiate.- Parameter:
stream- the streamdelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreakoptions-- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
Instantiate.- Parameter:
stream- the streamconfig- the config- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(InputStream stream, Charset charset, CSVSyntax config, CSVOptions options) throws IOException Instantiate.- Parameter:
stream- the streamconfig- the configoptions- the options- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(InputStream stream, Charset charset, CSVSyntax config, DataType<?>[] datatypes) throws IOException Instantiate.- Parameter:
stream-config-datatypes-- Löst aus:
IOException
-
CSVDataInput
public CSVDataInput(InputStream stream, Charset charset, CSVSyntax config, DataType<?>[] datatypes, CSVOptions options) throws IOException Instantiate.- Parameter:
stream-config-datatypes-options-- Löst aus:
IOException
-
CSVDataInput
public CSVDataInput(Reader reader, char delimiter, char quote, char escape, char[] linebreak, DataType<?>[] datatypes) throws IOException Instantiate.- Parameter:
reader- the readerdelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreak- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(Reader reader, char delimiter, char quote, char escape, char[] linebreak, DataType<?>[] datatypes, CSVOptions options) throws IOException Instantiate.- Parameter:
reader- the readerdelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreakoptions- the options- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
Instantiate.- Parameter:
filename- the filename- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
Instantiate.- Parameter:
filename- the filenamedelimiter- the delimiter- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(String filename, Charset charset, char delimiter, char quote) throws IOException Instantiate.- Parameter:
filename- the filenamedelimiter- the delimiterquote- the quote- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(String filename, Charset charset, char delimiter, char quote, char escape) throws IOException Instantiate.- Parameter:
filename- the filenamedelimiter- the delimiterquote- the quoteescape- the escape- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(String filename, Charset charset, char delimiter, char quote, char escape, char[] linebreak) throws IOException Instantiate.- Parameter:
filename- the filenamedelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreak- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(String filename, Charset charset, char delimiter, char quote, char escape, char[] linebreak, CSVOptions options) throws IOException Instantiate.- Parameter:
filename- the filenamedelimiter- the delimiterquote- the quoteescape- the escapelinebreak- the linebreakoptions-- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
Instantiate.- Parameter:
filename- the filenameconfig- the config- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
CSVDataInput
public CSVDataInput(String filename, Charset charset, CSVSyntax config, CSVOptions options) throws IOException Instantiate- Parameter:
filename-charset-config-options-- Löst aus:
IOException
-
CSVDataInput
public CSVDataInput(String filename, Charset charset, CSVSyntax config, DataType<?>[] datatypes) throws IOException Instantiate.- Parameter:
filename-config-datatypes-- Löst aus:
IOException
-
-
Methodendetails
-
close
Closes the reader.- Löst aus:
IOException- Signals that an I/O exception has occurred.
-
iterator
Returns an iterator. Assumes that the first line is the header. You must iterate trough all elements to prevent resource leaks!- Gibt zurück:
- the iterator
-
iterator
Returns an iterator. You must iterate trough all elements to prevent resource leaks!- Gibt zurück:
- the iterator
-