C E F G I P R S W
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- close() - Method in class com.csvreader.CsvReader
-
Closes and releases all related resources.
- close() - Method in class com.csvreader.CsvWriter
-
Closes and releases all related resources.
- com.csvreader - package com.csvreader
- CsvReader - Class in com.csvreader
-
A stream based parser for parsing delimited text data from a file or a stream.
- CsvReader(InputStream, char, Charset) - Constructor for class com.csvreader.CsvReader
-
Constructs a
CsvReader
object using anInputStream
object as the data source. - CsvReader(InputStream, Charset) - Constructor for class com.csvreader.CsvReader
-
Constructs a
CsvReader
object using anInputStream
object as the data source. Uses a comma as the column delimiter. - CsvReader(Reader) - Constructor for class com.csvreader.CsvReader
-
Constructs a
CsvReader
object using aReader
object as the data source. Uses a comma as the column delimiter. - CsvReader(Reader, char) - Constructor for class com.csvreader.CsvReader
-
Constructs a
CsvReader
object using aReader
object as the data source. - CsvReader(String) - Constructor for class com.csvreader.CsvReader
-
Creates a
CsvReader
object using a file as the data source. Uses a comma as the column delimiter and ISO-8859-1 as theCharset
. - CsvReader(String, char) - Constructor for class com.csvreader.CsvReader
-
Creates a
CsvReader
object using a file as the data source. Uses ISO-8859-1 as theCharset
. - CsvReader(String, char, Charset) - Constructor for class com.csvreader.CsvReader
-
Creates a
CsvReader
object using a file as the data source. - CsvWriter - Class in com.csvreader
-
A stream based writer for writing delimited text data to a file or a stream.
- CsvWriter(OutputStream, char, Charset) - Constructor for class com.csvreader.CsvWriter
-
Creates a
CsvWriter
object using an OutputStream to write data to. - CsvWriter(Writer, char) - Constructor for class com.csvreader.CsvWriter
-
Creates a
CsvWriter
object using a Writer to write data to. - CsvWriter(String) - Constructor for class com.csvreader.CsvWriter
-
Creates a
CsvWriter
object using a file as the data destination. Uses a comma as the column delimiter and ISO-8859-1 as theCharset
. - CsvWriter(String, char, Charset) - Constructor for class com.csvreader.CsvWriter
-
Creates a
CsvWriter
object using a file as the data destination.
E
- endRecord() - Method in class com.csvreader.CsvWriter
-
Ends the current record by sending the record delimiter.
- ESCAPE_MODE_BACKSLASH - Static variable in class com.csvreader.CsvReader
-
Use a backslash character before the text qualifier to represent an occurance of the text qualifier.
- ESCAPE_MODE_BACKSLASH - Static variable in class com.csvreader.CsvWriter
-
Use a backslash character before the text qualifier to represent an occurrence of the text qualifier.
- ESCAPE_MODE_DOUBLED - Static variable in class com.csvreader.CsvReader
-
Double up the text qualifier to represent an occurance of the text qualifier.
- ESCAPE_MODE_DOUBLED - Static variable in class com.csvreader.CsvWriter
-
Double up the text qualifier to represent an occurrence of the text qualifier.
F
- finalize() - Method in class com.csvreader.CsvReader
- finalize() - Method in class com.csvreader.CsvWriter
- flush() - Method in class com.csvreader.CsvWriter
-
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
G
- get(int) - Method in class com.csvreader.CsvReader
-
Returns the current column value for a given column index.
- get(String) - Method in class com.csvreader.CsvReader
-
Returns the current column value for a given column header name.
- getCaptureRawRecord() - Method in class com.csvreader.CsvReader
- getColumnCount() - Method in class com.csvreader.CsvReader
-
Gets the count of columns found in this record.
- getComment() - Method in class com.csvreader.CsvReader
-
Gets the character being used as a comment signal.
- getComment() - Method in class com.csvreader.CsvWriter
- getCurrentRecord() - Method in class com.csvreader.CsvReader
-
Gets the index of the current record.
- getDelimiter() - Method in class com.csvreader.CsvReader
-
Gets the character being used as the column delimiter.
- getDelimiter() - Method in class com.csvreader.CsvWriter
-
Gets the character being used as the column delimiter.
- getEscapeMode() - Method in class com.csvreader.CsvReader
-
Gets the current way to escape an occurance of the text qualifier inside qualified data.
- getEscapeMode() - Method in class com.csvreader.CsvWriter
- getForceQualifier() - Method in class com.csvreader.CsvWriter
-
Whether fields will be surrounded by the text qualifier even if the qualifier is not necessarily needed to escape this field.
- getHeader(int) - Method in class com.csvreader.CsvReader
-
Returns the column header value for a given column index.
- getHeaderCount() - Method in class com.csvreader.CsvReader
-
Gets the count of headers read in by a previous call to
readHeaders()
. - getHeaders() - Method in class com.csvreader.CsvReader
-
Returns the header values as a string array.
- getIndex(String) - Method in class com.csvreader.CsvReader
-
Gets the corresponding column index for a given column header name.
- getRawRecord() - Method in class com.csvreader.CsvReader
- getRecordDelimiter() - Method in class com.csvreader.CsvReader
- getRecordDelimiter() - Method in class com.csvreader.CsvWriter
- getSafetySwitch() - Method in class com.csvreader.CsvReader
-
Safety caution to prevent the parser from using large amounts of memory in the case where parsing settings like file encodings don't end up matching the actual format of a file.
- getSkipEmptyRecords() - Method in class com.csvreader.CsvReader
- getTextQualifier() - Method in class com.csvreader.CsvReader
-
Gets the character to use as a text qualifier in the data.
- getTextQualifier() - Method in class com.csvreader.CsvWriter
-
Gets the character to use as a text qualifier in the data.
- getTrimWhitespace() - Method in class com.csvreader.CsvReader
-
Gets whether leading and trailing whitespace characters are being trimmed from non-textqualified column data.
- getUseComments() - Method in class com.csvreader.CsvReader
-
Gets whether comments are being looked for while parsing or not.
- getUseTextQualifier() - Method in class com.csvreader.CsvReader
-
Whether text qualifiers will be used while parsing or not.
- getUseTextQualifier() - Method in class com.csvreader.CsvWriter
-
Whether text qualifiers will be used while writing data or not.
- getValues() - Method in class com.csvreader.CsvReader
I
- isQualified(int) - Method in class com.csvreader.CsvReader
P
- parse(String) - Static method in class com.csvreader.CsvReader
-
Creates a
CsvReader
object using a string of data as the source. Uses ISO-8859-1 as theCharset
.
R
- readHeaders() - Method in class com.csvreader.CsvReader
-
Read the first record of data as column headers.
- readRecord() - Method in class com.csvreader.CsvReader
-
Reads another record.
- replace(String, String, String) - Static method in class com.csvreader.CsvWriter
S
- setCaptureRawRecord(boolean) - Method in class com.csvreader.CsvReader
- setComment(char) - Method in class com.csvreader.CsvReader
-
Sets the character to use as a comment signal.
- setComment(char) - Method in class com.csvreader.CsvWriter
- setDelimiter(char) - Method in class com.csvreader.CsvReader
-
Sets the character to use as the column delimiter.
- setDelimiter(char) - Method in class com.csvreader.CsvWriter
-
Sets the character to use as the column delimiter.
- setEscapeMode(int) - Method in class com.csvreader.CsvReader
-
Sets the current way to escape an occurance of the text qualifier inside qualified data.
- setEscapeMode(int) - Method in class com.csvreader.CsvWriter
- setForceQualifier(boolean) - Method in class com.csvreader.CsvWriter
-
Use this to force all fields to be surrounded by the text qualifier even if the qualifier is not necessarily needed to escape this field.
- setHeaders(String[]) - Method in class com.csvreader.CsvReader
- setRecordDelimiter(char) - Method in class com.csvreader.CsvReader
-
Sets the character to use as the record delimiter.
- setRecordDelimiter(char) - Method in class com.csvreader.CsvWriter
-
Sets the character to use as the record delimiter.
- setSafetySwitch(boolean) - Method in class com.csvreader.CsvReader
-
Safety caution to prevent the parser from using large amounts of memory in the case where parsing settings like file encodings don't end up matching the actual format of a file.
- setSkipEmptyRecords(boolean) - Method in class com.csvreader.CsvReader
- setTextQualifier(char) - Method in class com.csvreader.CsvReader
-
Sets the character to use as a text qualifier in the data.
- setTextQualifier(char) - Method in class com.csvreader.CsvWriter
-
Sets the character to use as a text qualifier in the data.
- setTrimWhitespace(boolean) - Method in class com.csvreader.CsvReader
-
Sets whether leading and trailing whitespace characters should be trimmed from non-textqualified column data or not.
- setUseComments(boolean) - Method in class com.csvreader.CsvReader
-
Sets whether comments are being looked for while parsing or not.
- setUseTextQualifier(boolean) - Method in class com.csvreader.CsvReader
-
Sets whether text qualifiers will be used while parsing or not.
- setUseTextQualifier(boolean) - Method in class com.csvreader.CsvWriter
-
Sets whether text qualifiers will be used while writing data or not.
- skipLine() - Method in class com.csvreader.CsvReader
-
Skips the next line of data using the standard end of line characters and does not do any column delimited parsing.
- skipRecord() - Method in class com.csvreader.CsvReader
-
Skips the next record of data by parsing each column. Does not increment
getCurrentRecord()
.
W
- write(String) - Method in class com.csvreader.CsvWriter
-
Writes another column of data to this record. Does not preserve leading and trailing whitespace in this column of data.
- write(String, boolean) - Method in class com.csvreader.CsvWriter
-
Writes another column of data to this record.
- writeComment(String) - Method in class com.csvreader.CsvWriter
- writeRecord(String[]) - Method in class com.csvreader.CsvWriter
-
Writes a new record using the passed in array of values.
- writeRecord(String[], boolean) - Method in class com.csvreader.CsvWriter
-
Writes a new record using the passed in array of values.
All Classes All Packages