- get(Enum<?>) - Method in class org.apache.commons.csv.CSVRecord
-
- get(int) - Method in class org.apache.commons.csv.CSVRecord
-
Returns a value by index.
- get(String) - Method in class org.apache.commons.csv.CSVRecord
-
Returns a value by name.
- getAllowDuplicateHeaderNames() - Method in class org.apache.commons.csv.CSVFormat
-
Returns true if and only if duplicate names are allowed in the headers.
- getAllowMissingColumnNames() - Method in class org.apache.commons.csv.CSVFormat
-
Specifies whether missing column names are allowed when parsing the header line.
- getAutoFlush() - Method in class org.apache.commons.csv.CSVFormat
-
Returns whether to flush on close.
- getCharacterPosition() - Method in class org.apache.commons.csv.CSVRecord
-
Returns the start position of this record as a character position in the source stream.
- getComment() - Method in class org.apache.commons.csv.CSVRecord
-
Returns the comment for this record, if any.
- getCommentMarker() - Method in class org.apache.commons.csv.CSVFormat
-
Returns the character marking the start of a line comment.
- getCurrentLineNumber() - Method in class org.apache.commons.csv.CSVParser
-
Returns the current line number in the input stream.
- getDelimiter() - Method in class org.apache.commons.csv.CSVFormat
-
- getDelimiterString() - Method in class org.apache.commons.csv.CSVFormat
-
Returns the character delimiting the values (typically ";", "," or "\t").
- getEscapeCharacter() - Method in class org.apache.commons.csv.CSVFormat
-
Returns the escape character.
- getFirstEndOfLine() - Method in class org.apache.commons.csv.CSVParser
-
Gets the first end-of-line string encountered.
- getFormat() - Method in enum org.apache.commons.csv.CSVFormat.Predefined
-
Gets the format.
- getHeader() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a copy of the header array.
- getHeaderComments() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a copy of the header comment array.
- getHeaderMap() - Method in class org.apache.commons.csv.CSVParser
-
Returns a copy of the header map.
- getHeaderNames() - Method in class org.apache.commons.csv.CSVParser
-
Returns a read-only list of header names that iterates in column order.
- getIgnoreEmptyLines() - Method in class org.apache.commons.csv.CSVFormat
-
Specifies whether empty lines between records are ignored when parsing input.
- getIgnoreHeaderCase() - Method in class org.apache.commons.csv.CSVFormat
-
Specifies whether header names will be accessed ignoring case.
- getIgnoreSurroundingSpaces() - Method in class org.apache.commons.csv.CSVFormat
-
Specifies whether spaces around values are ignored when parsing input.
- getNullString() - Method in class org.apache.commons.csv.CSVFormat
-
Gets the String to convert to and from null
.
- getOut() - Method in class org.apache.commons.csv.CSVPrinter
-
Gets the target Appendable.
- getParser() - Method in class org.apache.commons.csv.CSVRecord
-
Returns the parser.
- getQuoteCharacter() - Method in class org.apache.commons.csv.CSVFormat
-
Returns the character used to encapsulate values containing special characters.
- getQuoteMode() - Method in class org.apache.commons.csv.CSVFormat
-
Returns the quote policy output fields.
- getRecordNumber() - Method in class org.apache.commons.csv.CSVParser
-
Returns the current record number in the input stream.
- getRecordNumber() - Method in class org.apache.commons.csv.CSVRecord
-
Returns the number of this record in the parsed CSV file.
- getRecords() - Method in class org.apache.commons.csv.CSVParser
-
Parses the CSV input according to the given format and returns the content as a list of
CSVRecords
.
- getRecordSeparator() - Method in class org.apache.commons.csv.CSVFormat
-
Returns the record separator delimiting output records.
- getSkipHeaderRecord() - Method in class org.apache.commons.csv.CSVFormat
-
Returns whether to skip the header record.
- getTrailingDelimiter() - Method in class org.apache.commons.csv.CSVFormat
-
Returns whether to add a trailing delimiter.
- getTrim() - Method in class org.apache.commons.csv.CSVFormat
-
Returns whether to trim leading and trailing blanks.
- INFORMIX_UNLOAD - Static variable in class org.apache.commons.csv.CSVFormat
-
Default Informix CSV UNLOAD format used by the UNLOAD TO file_name
operation.
- INFORMIX_UNLOAD_CSV - Static variable in class org.apache.commons.csv.CSVFormat
-
Default Informix CSV UNLOAD format used by the UNLOAD TO file_name
operation (escaping is disabled.)
- isClosed() - Method in class org.apache.commons.csv.CSVParser
-
Tests whether this parser is closed.
- isCommentMarkerSet() - Method in class org.apache.commons.csv.CSVFormat
-
Specifies whether comments are supported by this format.
- isConsistent() - Method in class org.apache.commons.csv.CSVRecord
-
Tells whether the record size matches the header size.
- isEscapeCharacterSet() - Method in class org.apache.commons.csv.CSVFormat
-
Returns whether escape are being processed.
- isMapped(String) - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether a given column is mapped, i.e.
- isNullStringSet() - Method in class org.apache.commons.csv.CSVFormat
-
Returns whether a nullString has been defined.
- isQuoteCharacterSet() - Method in class org.apache.commons.csv.CSVFormat
-
Returns whether a quoteChar has been defined.
- isSet(int) - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether a column with given index has a value.
- isSet(String) - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether a given columns is mapped and has a value.
- iterator() - Method in class org.apache.commons.csv.CSVParser
-
Returns the record iterator.
- iterator() - Method in class org.apache.commons.csv.CSVRecord
-
Returns an iterator over the values of this record.
- parse(Reader) - Method in class org.apache.commons.csv.CSVFormat
-
Parses the specified content.
- parse(File, Charset, CSVFormat) - Static method in class org.apache.commons.csv.CSVParser
-
Creates a parser for the given
File
.
- parse(InputStream, Charset, CSVFormat) - Static method in class org.apache.commons.csv.CSVParser
-
Creates a CSV parser using the given
CSVFormat
.
- parse(Path, Charset, CSVFormat) - Static method in class org.apache.commons.csv.CSVParser
-
Creates and returns a parser for the given
Path
, which the caller MUST close.
- parse(Reader, CSVFormat) - Static method in class org.apache.commons.csv.CSVParser
-
Creates a CSV parser using the given
CSVFormat
- parse(String, CSVFormat) - Static method in class org.apache.commons.csv.CSVParser
-
Creates a parser for the given
String
.
- parse(URL, Charset, CSVFormat) - Static method in class org.apache.commons.csv.CSVParser
-
Creates and returns a parser for the given URL, which the caller MUST close.
- POSTGRESQL_CSV - Static variable in class org.apache.commons.csv.CSVFormat
-
Default PostgreSQL CSV format used by the COPY
operation.
- POSTGRESQL_TEXT - Static variable in class org.apache.commons.csv.CSVFormat
-
Default PostgreSQL text format used by the COPY
operation.
- print(Appendable) - Method in class org.apache.commons.csv.CSVFormat
-
Prints to the specified output.
- print(File, Charset) - Method in class org.apache.commons.csv.CSVFormat
-
Prints to the specified output.
- print(Object, Appendable, boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Prints the value
as the next value on the line to out
.
- print(Path, Charset) - Method in class org.apache.commons.csv.CSVFormat
-
Prints to the specified output, returns a CSVPrinter
which the caller MUST close.
- print(Object) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints the string as the next value on the line.
- printComment(String) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints a comment on a new line among the delimiter separated values.
- printer() - Method in class org.apache.commons.csv.CSVFormat
-
- printHeaders(ResultSet) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints headers for a result set based on its metadata.
- println(Appendable) - Method in class org.apache.commons.csv.CSVFormat
-
Outputs the trailing delimiter (if set) followed by the record separator (if set).
- println() - Method in class org.apache.commons.csv.CSVPrinter
-
Outputs the record separator.
- printRecord(Appendable, Object...) - Method in class org.apache.commons.csv.CSVFormat
-
Prints the given values
to out
as a single record of delimiter separated values followed by the record separator.
- printRecord(Iterable<?>) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints the given values a single record of delimiter separated values followed by the record separator.
- printRecord(Object...) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints the given values a single record of delimiter separated values followed by the record separator.
- printRecords(Iterable<?>) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints all the objects in the given collection handling nested collections/arrays as records.
- printRecords(Object...) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints all the objects in the given array handling nested collections/arrays as records.
- printRecords(ResultSet) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints all the objects in the given JDBC result set.
- printRecords(ResultSet, boolean) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints all the objects with metadata in the given JDBC result set based on the header boolean.
- putIn(M) - Method in class org.apache.commons.csv.CSVRecord
-
Puts all values of this record into the given Map.
- setAllowDuplicateHeaderNames(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the duplicate header names behavior, true to allow, false to disallow.
- setAllowMissingColumnNames(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the missing column names behavior,
true
to allow missing column names in the header line,
false
to cause an
IllegalArgumentException
to be thrown.
- setAutoFlush(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets whether to flush on close.
- setCommentMarker(char) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the comment start marker, use null
to disable.
- setCommentMarker(Character) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the comment start marker, use null
to disable.
- setDelimiter(char) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the delimiter character.
- setDelimiter(String) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the delimiter character.
- setEscape(char) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the escape character.
- setEscape(Character) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the escape character.
- setHeader(Class<? extends Enum<?>>) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the header defined by the given
Enum
class.
- setHeader(ResultSet) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the header from the result set metadata.
- setHeader(ResultSetMetaData) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the header from the result set metadata.
- setHeader(String...) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the header to the given values.
- setHeaderComments(Object...) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the header comments set to the given values.
- setHeaderComments(String...) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the header comments set to the given values.
- setIgnoreEmptyLines(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the empty line skipping behavior, true
to ignore the empty lines between the records, false
to translate empty lines to empty
records.
- setIgnoreHeaderCase(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the case mapping behavior, true
to access name/values, false
to leave the mapping as is.
- setIgnoreSurroundingSpaces(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the parser trimming behavior, true
to remove the surrounding spaces, false
to leave the spaces as is.
- setNullString(String) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the String to convert to and from null
.
- setQuote(char) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the quote character.
- setQuote(Character) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the quote character, use null
to disable.
- setQuoteMode(QuoteMode) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the quote policy to use for output.
- setRecordSeparator(char) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the record separator to use for output.
- setRecordSeparator(String) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the record separator to use for output.
- setSkipHeaderRecord(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets whether to skip the header record.
- setTrailingDelimiter(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets whether to add a trailing delimiter.
- setTrim(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets whether to trim leading and trailing blanks.
- size() - Method in class org.apache.commons.csv.CSVRecord
-
Returns the number of values in this record.
- stream() - Method in class org.apache.commons.csv.CSVParser
-
Returns a sequential Stream
with this collection as its source.
- stream() - Method in class org.apache.commons.csv.CSVRecord
-
Returns a sequential ordered stream whose elements are the values.