A B C D E F G H I L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addRecordValue(boolean) - Method in class org.apache.commons.csv.CSVParser
- ALL - org.apache.commons.csv.QuoteMode
-
Quotes all fields.
- ALL_NON_NULL - org.apache.commons.csv.QuoteMode
-
Quotes all non-null fields.
- ALLOW_ALL - org.apache.commons.csv.DuplicateHeaderMode
-
Allows all duplicate headers.
- ALLOW_EMPTY - org.apache.commons.csv.DuplicateHeaderMode
-
Allows duplicate headers only if they're empty, blank, or null strings.
- allowMissingColumnNames - Variable in class org.apache.commons.csv.CSVFormat
-
Whether missing column names are allowed when parsing the header line.
- allowMissingColumnNames - Variable in class org.apache.commons.csv.CSVFormat.Builder
- append(char, Appendable) - Method in class org.apache.commons.csv.CSVFormat
- append(CharSequence, Appendable) - Method in class org.apache.commons.csv.CSVFormat
- appendable - Variable in class org.apache.commons.csv.CSVPrinter
-
The place that the values get written.
- appendNextEscapedCharacterToToken(Token) - Method in class org.apache.commons.csv.Lexer
-
Appends the next escaped character to the token's content.
- autoFlush - Variable in class org.apache.commons.csv.CSVFormat
-
Whether to flush on close.
- autoFlush - Variable in class org.apache.commons.csv.CSVFormat.Builder
B
- BACKSLASH - Static variable in class org.apache.commons.csv.Constants
- BACKSPACE - Static variable in class org.apache.commons.csv.Constants
- build() - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Builds a new CSVFormat instance.
- builder() - Method in class org.apache.commons.csv.CSVFormat
-
Creates a new Builder for this instance.
- Builder(CSVFormat) - Constructor for class org.apache.commons.csv.CSVFormat.Builder
C
- characterOffset - Variable in class org.apache.commons.csv.CSVParser
-
Lexer offset when the parser does not start parsing at the beginning of the source.
- characterPosition - Variable in class org.apache.commons.csv.CSVRecord
-
The start position of this record as a character position in the source stream.
- clone(T...) - Static method in class org.apache.commons.csv.CSVFormat
-
Null-safe clone of an array.
- close() - Method in class org.apache.commons.csv.CSVParser
-
Closes resources.
- close() - Method in class org.apache.commons.csv.CSVPrinter
- close() - Method in class org.apache.commons.csv.ExtendedBufferedReader
-
Closes the stream.
- close() - Method in class org.apache.commons.csv.Lexer
-
Closes resources.
- close(boolean) - Method in class org.apache.commons.csv.CSVPrinter
-
Closes the underlying stream with an optional flush first.
- COMMA - Static variable in class org.apache.commons.csv.Constants
- comment - Variable in class org.apache.commons.csv.CSVRecord
-
The accumulated comments (if any)
- COMMENT - org.apache.commons.csv.Token.Type
-
Token is a comment line.
- COMMENT - Static variable in class org.apache.commons.csv.Constants
-
Starts a comment, the remainder of the line is the comment.
- commentMarker - Variable in class org.apache.commons.csv.CSVFormat.Builder
- commentMarker - Variable in class org.apache.commons.csv.CSVFormat
-
Set to null if commenting is disabled.
- commentStart - Variable in class org.apache.commons.csv.Lexer
- Constants - Class in org.apache.commons.csv
-
Private constants to this package.
- Constants() - Constructor for class org.apache.commons.csv.Constants
-
No instances.
- contains(String, char) - Static method in class org.apache.commons.csv.CSVFormat
-
Returns true if the given string contains the search char.
- containsLineBreak(String) - Static method in class org.apache.commons.csv.CSVFormat
-
Returns true if the given string contains a line break character.
- content - Variable in class org.apache.commons.csv.Token
-
The content buffer.
- copy() - Method in class org.apache.commons.csv.CSVFormat
-
Creates a copy of this instance.
- CR - Static variable in class org.apache.commons.csv.Constants
- CR_STRING - Static variable in class org.apache.commons.csv.Lexer
- create() - Static method in class org.apache.commons.csv.CSVFormat.Builder
-
Creates a new default builder.
- create(CSVFormat) - Static method in class org.apache.commons.csv.CSVFormat.Builder
-
Creates a new builder for the given format.
- createEmptyHeaderMap() - Method in class org.apache.commons.csv.CSVParser
- createHeaders() - Method in class org.apache.commons.csv.CSVParser
-
Creates the name to index mapping if the format defines a header.
- CRLF - Static variable in class org.apache.commons.csv.Constants
-
RFC 4180 defines line breaks as CRLF
- CSVException - Exception in org.apache.commons.csv
-
Signals a CSV exception.
- CSVException(String, Object...) - Constructor for exception org.apache.commons.csv.CSVException
-
Constructs a new instance with a formatted message.
- CSVFormat - Class in org.apache.commons.csv
-
Specifies the format of a CSV file for parsing and writing.
- CSVFormat(String, Character, QuoteMode, Character, Character, boolean, boolean, String, String, Object[], String[], boolean, boolean, boolean, boolean, boolean, boolean, DuplicateHeaderMode, boolean, boolean) - Constructor for class org.apache.commons.csv.CSVFormat
-
Creates a customized CSV format.
- CSVFormat(CSVFormat.Builder) - Constructor for class org.apache.commons.csv.CSVFormat
- CSVFormat.Builder - Class in org.apache.commons.csv
-
Builds CSVFormat instances.
- CSVFormat.Predefined - Enum in org.apache.commons.csv
-
Predefines formats.
- CSVParser - Class in org.apache.commons.csv
-
Parses CSV files according to the specified format.
- CSVParser(Reader, CSVFormat) - Constructor for class org.apache.commons.csv.CSVParser
-
Constructs a new instance using the given
CSVFormat
- CSVParser(Reader, CSVFormat, long, long) - Constructor for class org.apache.commons.csv.CSVParser
-
Constructs a new instance using the given
CSVFormat
- CSVParser.CSVRecordIterator - Class in org.apache.commons.csv
- CSVParser.Headers - Class in org.apache.commons.csv
-
Header information based on name and position.
- CSVPrinter - Class in org.apache.commons.csv
-
Prints values in a
CSV format
. - CSVPrinter(Appendable, CSVFormat) - Constructor for class org.apache.commons.csv.CSVPrinter
-
Creates a printer that will print values to the given stream following the CSVFormat.
- CSVRecord - Class in org.apache.commons.csv
-
A CSV record parsed from a CSV file.
- CSVRecord(CSVParser, String[], String, long, long) - Constructor for class org.apache.commons.csv.CSVRecord
- csvRecordIterator - Variable in class org.apache.commons.csv.CSVParser
- CSVRecordIterator() - Constructor for class org.apache.commons.csv.CSVParser.CSVRecordIterator
- current - Variable in class org.apache.commons.csv.CSVParser.CSVRecordIterator
D
- Default - org.apache.commons.csv.CSVFormat.Predefined
-
The DEFAULT predefined format.
- DEFAULT - Static variable in class org.apache.commons.csv.CSVFormat
-
Standard Comma Separated Value format, as for
CSVFormat.RFC4180
but allowing empty lines. - delimiter - Variable in class org.apache.commons.csv.CSVFormat.Builder
- delimiter - Variable in class org.apache.commons.csv.CSVFormat
-
The character delimiting the values (typically ";", "," or "\t").
- delimiter - Variable in class org.apache.commons.csv.Lexer
- delimiterBuf - Variable in class org.apache.commons.csv.Lexer
- DISALLOW - org.apache.commons.csv.DuplicateHeaderMode
-
Disallows duplicate headers entirely.
- DOUBLE_QUOTE_CHAR - Static variable in class org.apache.commons.csv.Constants
- duplicateHeaderMode - Variable in class org.apache.commons.csv.CSVFormat.Builder
- duplicateHeaderMode - Variable in class org.apache.commons.csv.CSVFormat
-
How duplicate headers are handled.
- DuplicateHeaderMode - Enum in org.apache.commons.csv
-
Determines how duplicate header fields should be handled if
CSVFormat.Builder.setHeader(Class)
is not null. - DuplicateHeaderMode() - Constructor for enum org.apache.commons.csv.DuplicateHeaderMode
E
- EMPTY - Static variable in class org.apache.commons.csv.Constants
- EMPTY_STRING_ARRAY - Static variable in class org.apache.commons.csv.Constants
- EOF - org.apache.commons.csv.Token.Type
-
Token (which can have content) when the end of file is reached.
- EORECORD - org.apache.commons.csv.Token.Type
-
Token with content when the end of a line is reached.
- equals(Object) - Method in class org.apache.commons.csv.CSVFormat
- escape - Variable in class org.apache.commons.csv.Lexer
- escape(char, Appendable) - Method in class org.apache.commons.csv.CSVFormat
- escapeCharacter - Variable in class org.apache.commons.csv.CSVFormat.Builder
- escapeCharacter - Variable in class org.apache.commons.csv.CSVFormat
-
Set to null if escaping is disabled.
- escapeDelimiterBuf - Variable in class org.apache.commons.csv.Lexer
- Excel - org.apache.commons.csv.CSVFormat.Predefined
-
The EXCEL predefined format.
- EXCEL - Static variable in class org.apache.commons.csv.CSVFormat
-
Excel file format (using a comma as the value delimiter).
- ExtendedBufferedReader - Class in org.apache.commons.csv
-
A special buffered reader which supports sophisticated read access.
- ExtendedBufferedReader(Reader) - Constructor for class org.apache.commons.csv.ExtendedBufferedReader
-
Constructs a new instance using the default buffer size.
F
- FF - Static variable in class org.apache.commons.csv.Constants
- firstEol - Variable in class org.apache.commons.csv.Lexer
- flush() - Method in class org.apache.commons.csv.CSVPrinter
-
Flushes the underlying stream.
- format - Variable in enum org.apache.commons.csv.CSVFormat.Predefined
- format - Variable in class org.apache.commons.csv.CSVParser
- format - Variable in class org.apache.commons.csv.CSVPrinter
- format(Object...) - Method in class org.apache.commons.csv.CSVFormat
-
Formats the specified values.
- format_(Object...) - Method in class org.apache.commons.csv.CSVFormat
G
- get(int) - Method in class org.apache.commons.csv.CSVRecord
-
Returns a value by index.
- get(Enum<?>) - Method in class org.apache.commons.csv.CSVRecord
-
Returns a value by
Enum
. - get(String) - Method in class org.apache.commons.csv.CSVRecord
-
Returns a value by name.
- getAllowDuplicateHeaderNames() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- getAllowMissingColumnNames() - Method in class org.apache.commons.csv.CSVFormat
-
Gets whether missing column names are allowed when parsing the header line.
- getAutoFlush() - Method in class org.apache.commons.csv.CSVFormat
-
Gets 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.
- getCharacterPosition() - Method in class org.apache.commons.csv.Lexer
-
Returns the current character position
- 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
-
Gets the comment marker character,
null
disables comments. - getCurrentLineNumber() - Method in class org.apache.commons.csv.CSVParser
-
Gets the current line number in the input stream.
- getCurrentLineNumber() - Method in class org.apache.commons.csv.Lexer
-
Returns the current line number
- getDelimiter() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- getDelimiterCharArray() - Method in class org.apache.commons.csv.CSVFormat
-
Gets the character delimiting the values (typically ";", "," or "\t").
- getDelimiterString() - Method in class org.apache.commons.csv.CSVFormat
-
Gets the character delimiting the values (typically ";", "," or "\t").
- getDuplicateHeaderMode() - Method in class org.apache.commons.csv.CSVFormat
-
Gets how duplicate headers are handled.
- getEscapeChar() - Method in class org.apache.commons.csv.CSVFormat
-
Gets the escape character.
- getEscapeCharacter() - Method in class org.apache.commons.csv.CSVFormat
-
Gets the escape character.
- getFirstEndOfLine() - Method in class org.apache.commons.csv.CSVParser
-
Gets the first end-of-line string encountered.
- getFirstEol() - Method in class org.apache.commons.csv.Lexer
- getFormat() - Method in enum org.apache.commons.csv.CSVFormat.Predefined
-
Gets the format.
- getHeader() - Method in class org.apache.commons.csv.CSVFormat
-
Gets a copy of the header array.
- getHeaderComment() - Method in class org.apache.commons.csv.CSVParser
-
Gets the header comment, if any.
- getHeaderComments() - Method in class org.apache.commons.csv.CSVFormat
-
Gets a copy of the header comment array to write before the CSV data.
- getHeaderMap() - Method in class org.apache.commons.csv.CSVParser
-
Gets a copy of the header map as defined in the CSVFormat's header.
- getHeaderMapRaw() - Method in class org.apache.commons.csv.CSVParser
-
Gets the underlying header map.
- getHeaderMapRaw() - Method in class org.apache.commons.csv.CSVRecord
- getHeaderNames() - Method in class org.apache.commons.csv.CSVParser
-
Gets a read-only list of header names that iterates in column order as defined in the CSVFormat's header.
- getIgnoreEmptyLines() - Method in class org.apache.commons.csv.CSVFormat
-
Gets whether empty lines between records are ignored when parsing input.
- getIgnoreHeaderCase() - Method in class org.apache.commons.csv.CSVFormat
-
Gets whether header names will be accessed ignoring case when parsing input.
- getIgnoreSurroundingSpaces() - Method in class org.apache.commons.csv.CSVFormat
-
Gets whether spaces around values are ignored when parsing input.
- getLastChar() - Method in class org.apache.commons.csv.ExtendedBufferedReader
-
Returns the last character that was read as an integer (0 to 65535).
- getLenientEof() - Method in class org.apache.commons.csv.CSVFormat
-
Gets whether reading end-of-file is allowed even when input is malformed, helps Excel compatibility.
- getLineNumber() - Method in class org.apache.commons.csv.ExtendedBufferedReader
-
Returns the current line number
- getNextRecord() - Method in class org.apache.commons.csv.CSVParser.CSVRecordIterator
-
Gets the next record.
- 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.
- getPosition() - Method in class org.apache.commons.csv.ExtendedBufferedReader
-
Gets the character position in the reader.
- getQuoteCharacter() - Method in class org.apache.commons.csv.CSVFormat
-
Gets the character used to encapsulate values containing special characters.
- getQuoteMode() - Method in class org.apache.commons.csv.CSVFormat
-
Gets the quote policy output fields.
- getRecordNumber() - Method in class org.apache.commons.csv.CSVParser
-
Gets 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
-
Gets the record separator delimiting output records.
- getSkipHeaderRecord() - Method in class org.apache.commons.csv.CSVFormat
-
Gets whether to skip the header record.
- getTrailerComment() - Method in class org.apache.commons.csv.CSVParser
-
Gets the trailer comment, if any.
- getTrailingData() - Method in class org.apache.commons.csv.CSVFormat
-
Gets whether reading trailing data is allowed in records, helps Excel compatibility.
- getTrailingDelimiter() - Method in class org.apache.commons.csv.CSVFormat
-
Gets whether to add a trailing delimiter.
- getTrim() - Method in class org.apache.commons.csv.CSVFormat
-
Gets whether to trim leading and trailing blanks.
H
- handleNull(String) - Method in class org.apache.commons.csv.CSVParser
-
Handles whether the input is parsed as null
- hasComment() - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether this record has a comment, false otherwise.
- hashCode() - Method in class org.apache.commons.csv.CSVFormat
- hasHeaderComment() - Method in class org.apache.commons.csv.CSVParser
-
Checks whether there is a header comment.
- hasNext() - Method in class org.apache.commons.csv.CSVParser.CSVRecordIterator
- hasTrailerComment() - Method in class org.apache.commons.csv.CSVParser
-
Checks whether there is a trailer comment.
- headerComment - Variable in class org.apache.commons.csv.CSVParser
- headerComments - Variable in class org.apache.commons.csv.CSVFormat.Builder
- headerComments - Variable in class org.apache.commons.csv.CSVFormat
-
Array of header comment lines.
- headerMap - Variable in class org.apache.commons.csv.CSVParser.Headers
-
Header column positions (0-based)
- headerNames - Variable in class org.apache.commons.csv.CSVParser.Headers
-
Header names in column order
- headers - Variable in class org.apache.commons.csv.CSVFormat.Builder
- headers - Variable in class org.apache.commons.csv.CSVFormat
-
Array of header column names.
- headers - Variable in class org.apache.commons.csv.CSVParser
- Headers(Map<String, Integer>, List<String>) - Constructor for class org.apache.commons.csv.CSVParser.Headers
I
- ignoreEmptyLines - Variable in class org.apache.commons.csv.CSVFormat.Builder
- ignoreEmptyLines - Variable in class org.apache.commons.csv.CSVFormat
-
Whether empty lines between records are ignored when parsing input.
- ignoreEmptyLines - Variable in class org.apache.commons.csv.Lexer
- ignoreHeaderCase - Variable in class org.apache.commons.csv.CSVFormat.Builder
- ignoreHeaderCase - Variable in class org.apache.commons.csv.CSVFormat
-
Should ignore header names case.
- ignoreSurroundingSpaces - Variable in class org.apache.commons.csv.CSVFormat.Builder
- ignoreSurroundingSpaces - Variable in class org.apache.commons.csv.CSVFormat
-
Should leading/trailing spaces be ignored around values?.
- ignoreSurroundingSpaces - Variable in class org.apache.commons.csv.Lexer
- 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.) - InformixUnload - org.apache.commons.csv.CSVFormat.Predefined
-
The INFORMIX_UNLOAD predefined format.
- InformixUnloadCsv - org.apache.commons.csv.CSVFormat.Predefined
-
The INFORMIX_UNLOAD_CSV predefined format.
- INITIAL_TOKEN_LENGTH - Static variable in class org.apache.commons.csv.Token
-
Length of the initial token (content-)buffer
- INVALID - org.apache.commons.csv.Token.Type
-
Token has no valid content, i.e.
- isBlank(String) - Static method in class org.apache.commons.csv.CSVFormat
- isClosed() - Method in class org.apache.commons.csv.CSVParser
-
Tests whether this parser is closed.
- isClosed() - Method in class org.apache.commons.csv.Lexer
- isCommentMarkerSet() - Method in class org.apache.commons.csv.CSVFormat
-
Tests whether comments are supported by this format.
- isCommentStart(int) - Method in class org.apache.commons.csv.Lexer
- isConsistent() - Method in class org.apache.commons.csv.CSVRecord
-
Tells whether the record size matches the header size.
- isDelimiter(char, CharSequence, int, char[], int) - Method in class org.apache.commons.csv.CSVFormat
-
Tests whether the next characters constitute a delimiter
- isDelimiter(int) - Method in class org.apache.commons.csv.Lexer
-
Determine whether the next characters constitute a delimiter through
UnsynchronizedBufferedReader.peek(char[])
. - isEndOfFile(int) - Method in class org.apache.commons.csv.Lexer
-
Tests if the given character indicates the end of the file.
- isEscape(int) - Method in class org.apache.commons.csv.Lexer
-
Tests if the given character is the escape character.
- isEscapeCharacterSet() - Method in class org.apache.commons.csv.CSVFormat
-
Tests whether escapes are being processed.
- isEscapeDelimiter() - Method in class org.apache.commons.csv.Lexer
-
Tests if the next characters constitute a escape delimiter through
UnsynchronizedBufferedReader.peek(char[])
. - isLastTokenDelimiter - Variable in class org.apache.commons.csv.Lexer
- isLineBreak(char) - Static method in class org.apache.commons.csv.CSVFormat
-
Returns true if the given character is a line break character.
- isLineBreak(Character) - Static method in class org.apache.commons.csv.CSVFormat
-
Returns true if the given character is a line break character.
- isMapped(String) - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether a given column is mapped, i.e.
- isMetaChar(int) - Method in class org.apache.commons.csv.Lexer
- isNullStringSet() - Method in class org.apache.commons.csv.CSVFormat
-
Tests whether a null string has been defined.
- isQuoteChar(int) - Method in class org.apache.commons.csv.Lexer
- isQuoteCharacterSet() - Method in class org.apache.commons.csv.CSVFormat
-
Tests whether a quoteChar has been defined.
- isQuoted - Variable in class org.apache.commons.csv.Token
- isReady - Variable in class org.apache.commons.csv.Token
-
Token ready flag: indicates a valid token with content (ready for the parser).
- isSet(int) - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether a column with a given index has a value.
- isSet(String) - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether a given column is mapped and has a value.
- isStartOfLine(int) - Method in class org.apache.commons.csv.Lexer
-
Tests if the current character represents the start of a line: a CR, LF, or is at the start of the file.
- isStrictQuoteMode() - Method in class org.apache.commons.csv.CSVParser
- isTrimChar(char) - Static method in class org.apache.commons.csv.CSVFormat
-
Same test as in as
String.trim()
. - isTrimChar(CharSequence, int) - Static method in class org.apache.commons.csv.CSVFormat
-
Same test as in as
String.trim()
. - 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.
L
- lastChar - Variable in class org.apache.commons.csv.ExtendedBufferedReader
-
The last char returned
- lastCharMark - Variable in class org.apache.commons.csv.ExtendedBufferedReader
- lenientEof - Variable in class org.apache.commons.csv.CSVFormat.Builder
- lenientEof - Variable in class org.apache.commons.csv.CSVFormat
-
Whether reading end-of-file is allowed even when input is malformed, helps Excel compatibility.
- lenientEof - Variable in class org.apache.commons.csv.Lexer
- lexer - Variable in class org.apache.commons.csv.CSVParser
- Lexer - Class in org.apache.commons.csv
-
Lexical analyzer.
- Lexer(CSVFormat, ExtendedBufferedReader) - Constructor for class org.apache.commons.csv.Lexer
- LF - Static variable in class org.apache.commons.csv.Constants
- LF_STRING - Static variable in class org.apache.commons.csv.Lexer
- LINE_SEPARATOR - Static variable in class org.apache.commons.csv.Constants
-
Unicode line separator.
- lineNumber - Variable in class org.apache.commons.csv.ExtendedBufferedReader
-
The count of EOLs (CR/LF/CRLF) seen so far
- lineNumberMark - Variable in class org.apache.commons.csv.ExtendedBufferedReader
M
- mark(int) - Method in class org.apache.commons.csv.ExtendedBufferedReader
- MINIMAL - org.apache.commons.csv.QuoteMode
-
Quotes fields that contain special characters such as a field delimiter, quote character, or any of the characters in the line separator string.
- MONGODB_CSV - Static variable in class org.apache.commons.csv.CSVFormat
-
Default MongoDB CSV format used by the
mongoexport
operation. - MONGODB_TSV - Static variable in class org.apache.commons.csv.CSVFormat
-
Default MongoDB TSV format used by the
mongoexport
operation. - MongoDBCsv - org.apache.commons.csv.CSVFormat.Predefined
-
The MONGODB_CSV predefined format.
- MongoDBTsv - org.apache.commons.csv.CSVFormat.Predefined
-
The MONGODB_TSV predefined format.
- MySQL - org.apache.commons.csv.CSVFormat.Predefined
-
The MYSQL predefined format.
- MYSQL - Static variable in class org.apache.commons.csv.CSVFormat
-
Default MySQL format used by the
SELECT INTO OUTFILE
andLOAD DATA INFILE
operations.
N
- newFormat(char) - Static method in class org.apache.commons.csv.CSVFormat
-
Creates a new CSV format with the specified delimiter.
- newRecord - Variable in class org.apache.commons.csv.CSVPrinter
-
True if we just began a new record.
- next() - Method in class org.apache.commons.csv.CSVParser.CSVRecordIterator
- NEXT_LINE - Static variable in class org.apache.commons.csv.Constants
-
Unicode next line.
- nextRecord() - Method in class org.apache.commons.csv.CSVParser
-
Parses the next record from the current point in the stream.
- nextToken(Token) - Method in class org.apache.commons.csv.Lexer
-
Returns the next token.
- NON_NUMERIC - org.apache.commons.csv.QuoteMode
-
Quotes all non-numeric fields.
- NONE - org.apache.commons.csv.QuoteMode
-
Never quotes fields.
- nullString - Variable in class org.apache.commons.csv.CSVFormat.Builder
- nullString - Variable in class org.apache.commons.csv.CSVFormat
-
The string to be used for null values.
- nullToDisabled(Character) - Method in class org.apache.commons.csv.Lexer
O
- Oracle - org.apache.commons.csv.CSVFormat.Predefined
-
The ORACLE predefined format.
- ORACLE - Static variable in class org.apache.commons.csv.CSVFormat
-
Default Oracle format used by the SQL*Loader utility.
- org.apache.commons.csv - package org.apache.commons.csv
-
Apache Commons CSV Format Support.
P
- PARAGRAPH_SEPARATOR - Static variable in class org.apache.commons.csv.Constants
-
Unicode paragraph separator.
- 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(Reader) - Method in class org.apache.commons.csv.CSVFormat
-
Parses the specified content.
- 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.
- 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. - parseEncapsulatedToken(Token) - Method in class org.apache.commons.csv.Lexer
-
Parses an encapsulated token.
- parser - Variable in class org.apache.commons.csv.CSVRecord
-
The parser that originates this record.
- parseSimpleToken(Token, int) - Method in class org.apache.commons.csv.Lexer
-
Parses a simple token.
- PIPE - Static variable in class org.apache.commons.csv.Constants
- position - Variable in class org.apache.commons.csv.ExtendedBufferedReader
-
The position, which is the number of characters read so far
- positionMark - Variable in class org.apache.commons.csv.ExtendedBufferedReader
- 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. - PostgreSQLCsv - org.apache.commons.csv.CSVFormat.Predefined
-
The POSTGRESQL_CSV predefined format.
- PostgreSQLText - org.apache.commons.csv.CSVFormat.Predefined
-
The POSTGRESQL_TEXT predefined format.
- Predefined(CSVFormat) - Constructor for enum org.apache.commons.csv.CSVFormat.Predefined
- print(File, Charset) - Method in class org.apache.commons.csv.CSVFormat
-
Prints to the specified
File
with givenCharset
. - print(InputStream, Appendable, boolean) - Method in class org.apache.commons.csv.CSVFormat
- print(Reader, Appendable, boolean) - Method in class org.apache.commons.csv.CSVFormat
- print(Appendable) - Method in class org.apache.commons.csv.CSVFormat
-
Prints to the specified output.
- print(Object) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints the string as the next value on the line.
- print(Object, Appendable, boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Prints the
value
as the next value on the line toout
. - print(Object, CharSequence, Appendable, boolean) - Method in class org.apache.commons.csv.CSVFormat
- print(Path, Charset) - Method in class org.apache.commons.csv.CSVFormat
-
Prints to the specified
Path
with givenCharset
, returns aCSVPrinter
which the caller MUST close. - 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
-
Prints to the
System.out
. - printHeaders(ResultSet) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints headers for a result set based on its metadata.
- println() - Method in class org.apache.commons.csv.CSVPrinter
-
Outputs the record separator.
- println(Appendable) - Method in class org.apache.commons.csv.CSVFormat
-
Outputs the trailing delimiter (if set) followed by the record separator (if set).
- printRecord(Appendable, Object...) - Method in class org.apache.commons.csv.CSVFormat
-
Prints the given
values
toout
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 as 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 as a single record of delimiter-separated values followed by the record separator.
- printRecord(Stream<?>) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints the given values as a single record of delimiter-separated values followed by the record separator.
- printRecordObject(Object) - Method in class org.apache.commons.csv.CSVPrinter
- printRecords(Iterable<?>) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints all the objects in the given
Iterable
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.
- printRecords(Stream<?>) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints all the objects in the given
Stream
handling nested collections/arrays as records. - printWithEscapes(Reader, Appendable) - Method in class org.apache.commons.csv.CSVFormat
- printWithEscapes(CharSequence, Appendable) - Method in class org.apache.commons.csv.CSVFormat
- printWithQuotes(Reader, Appendable) - Method in class org.apache.commons.csv.CSVFormat
-
Always use quotes unless QuoteMode is NONE, so we do not have to look ahead.
- printWithQuotes(Object, CharSequence, Appendable, boolean) - Method in class org.apache.commons.csv.CSVFormat
- putIn(M) - Method in class org.apache.commons.csv.CSVRecord
-
Puts all values of this record into the given Map.
Q
- quoteChar - Variable in class org.apache.commons.csv.Lexer
- quoteCharacter - Variable in class org.apache.commons.csv.CSVFormat.Builder
- quoteCharacter - Variable in class org.apache.commons.csv.CSVFormat
-
Set to null if quoting is disabled.
- quotedNullString - Variable in class org.apache.commons.csv.CSVFormat.Builder
- quotedNullString - Variable in class org.apache.commons.csv.CSVFormat
-
Set to
quoteCharacter + nullString + quoteCharacter
- quoteMode - Variable in class org.apache.commons.csv.CSVFormat.Builder
- quoteMode - Variable in class org.apache.commons.csv.CSVFormat
-
The quote policy output fields.
- QuoteMode - Enum in org.apache.commons.csv
-
Defines quoting behavior.
- QuoteMode() - Constructor for enum org.apache.commons.csv.QuoteMode
R
- read() - Method in class org.apache.commons.csv.ExtendedBufferedReader
- read(char[], int, int) - Method in class org.apache.commons.csv.ExtendedBufferedReader
- readEndOfLine(int) - Method in class org.apache.commons.csv.Lexer
-
Greedily accepts \n, \r and \r\n This checker consumes silently the second control-character...
- reader - Variable in class org.apache.commons.csv.Lexer
-
The buffered reader.
- readEscape() - Method in class org.apache.commons.csv.Lexer
-
Handle an escape sequence.
- readLine() - Method in class org.apache.commons.csv.ExtendedBufferedReader
-
Gets the next line, dropping the line terminator(s).
- recordList - Variable in class org.apache.commons.csv.CSVParser
-
A record buffer for getRecord().
- recordNumber - Variable in class org.apache.commons.csv.CSVParser
-
The next record number to assign.
- recordNumber - Variable in class org.apache.commons.csv.CSVRecord
-
The record number.
- recordSeparator - Variable in class org.apache.commons.csv.CSVFormat.Builder
- recordSeparator - Variable in class org.apache.commons.csv.CSVFormat
-
For output.
- remove() - Method in class org.apache.commons.csv.CSVParser.CSVRecordIterator
- reset() - Method in class org.apache.commons.csv.ExtendedBufferedReader
- reset() - Method in class org.apache.commons.csv.Token
- reusableToken - Variable in class org.apache.commons.csv.CSVParser
- RFC4180 - org.apache.commons.csv.CSVFormat.Predefined
-
The RFC4180 predefined format.
- RFC4180 - Static variable in class org.apache.commons.csv.CSVFormat
-
Comma separated format as defined by RFC 4180.
- RS - Static variable in class org.apache.commons.csv.Constants
-
ASCII record separator
S
- serialVersionUID - Static variable in exception org.apache.commons.csv.CSVException
- serialVersionUID - Static variable in class org.apache.commons.csv.CSVFormat
- serialVersionUID - Static variable in class org.apache.commons.csv.CSVRecord
- setAllowDuplicateHeaderNames(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Deprecated.
- setAllowMissingColumnNames(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the parser missing column names behavior,
true
to allow missing column names in the header line,false
to cause anIllegalArgumentException
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 marker character, use
null
to disable comments. - setCommentMarker(Character) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the comment marker character, use
null
to disable comments. - 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.
- setDuplicateHeaderMode(DuplicateHeaderMode) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the duplicate header names behavior.
- 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(String...) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the header to the given values.
- 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.
- setHeaderComments(Object...) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the header comments to write before the CSV data.
- setHeaderComments(String...) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets the header comments to write before the CSV data.
- 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 parser 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. - setLenientEof(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets whether reading end-of-file is allowed even when input is malformed, helps Excel compatibility.
- 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.
- setTrailingData(boolean) - Method in class org.apache.commons.csv.CSVFormat.Builder
-
Sets whether reading trailing data is allowed in records, helps Excel compatibility.
- 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.
- skipHeaderRecord - Variable in class org.apache.commons.csv.CSVFormat.Builder
- skipHeaderRecord - Variable in class org.apache.commons.csv.CSVFormat
-
Whether to skip the header record.
- SP - Static variable in class org.apache.commons.csv.Constants
- SQL_NULL_STRING - Static variable in class org.apache.commons.csv.Constants
- 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.
T
- TAB - Static variable in class org.apache.commons.csv.Constants
- TDF - org.apache.commons.csv.CSVFormat.Predefined
-
The TDF predefined format.
- TDF - Static variable in class org.apache.commons.csv.CSVFormat
-
Tab-delimited format.
- Token - Class in org.apache.commons.csv
-
Internal token representation.
- Token() - Constructor for class org.apache.commons.csv.Token
- TOKEN - org.apache.commons.csv.Token.Type
-
Token with content, at the beginning or in the middle of a line.
- Token.Type - Enum in org.apache.commons.csv
- toList() - Method in class org.apache.commons.csv.CSVRecord
-
Converts the values to a new List.
- toMap() - Method in class org.apache.commons.csv.CSVRecord
-
Copies this record into a new Map of header name to record value.
- toString() - Method in class org.apache.commons.csv.CSVFormat
- toString() - Method in class org.apache.commons.csv.CSVRecord
-
Returns a string representation of the contents of this record.
- toString() - Method in class org.apache.commons.csv.Token
-
Eases IDE debugging.
- toStringArray(Object[]) - Static method in class org.apache.commons.csv.CSVFormat
- trailerComment - Variable in class org.apache.commons.csv.CSVParser
- trailingData - Variable in class org.apache.commons.csv.CSVFormat.Builder
- trailingData - Variable in class org.apache.commons.csv.CSVFormat
-
Whether reading trailing data is allowed in records, helps Excel compatibility.
- trailingData - Variable in class org.apache.commons.csv.Lexer
- trailingDelimiter - Variable in class org.apache.commons.csv.CSVFormat.Builder
- trailingDelimiter - Variable in class org.apache.commons.csv.CSVFormat
-
Whether to add a trailing delimiter.
- trim - Variable in class org.apache.commons.csv.CSVFormat.Builder
- trim - Variable in class org.apache.commons.csv.CSVFormat
-
Whether to trim leading and trailing blanks.
- trim(CharSequence) - Static method in class org.apache.commons.csv.CSVFormat
- trim(String) - Method in class org.apache.commons.csv.CSVFormat
- trimTrailingSpaces(StringBuilder) - Method in class org.apache.commons.csv.Lexer
- type - Variable in class org.apache.commons.csv.Token
-
Token type
- Type() - Constructor for enum org.apache.commons.csv.Token.Type
U
- UNDEFINED - Static variable in class org.apache.commons.csv.Constants
-
Undefined state for the lookahead char
- US - Static variable in class org.apache.commons.csv.Constants
-
ASCII unit separator
V
- validate() - Method in class org.apache.commons.csv.CSVFormat
-
Verifies the validity and consistency of the attributes, and throws an
IllegalArgumentException
if necessary. - valueOf(String) - Static method in enum org.apache.commons.csv.CSVFormat.Predefined
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class org.apache.commons.csv.CSVFormat
-
Gets one of the predefined formats from
CSVFormat.Predefined
. - valueOf(String) - Static method in enum org.apache.commons.csv.DuplicateHeaderMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.csv.QuoteMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.csv.Token.Type
-
Returns the enum constant of this type with the specified name.
- values - Variable in class org.apache.commons.csv.CSVRecord
-
The values of the record
- values() - Static method in enum org.apache.commons.csv.CSVFormat.Predefined
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.apache.commons.csv.CSVRecord
-
Gets the values for this record.
- values() - Static method in enum org.apache.commons.csv.DuplicateHeaderMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.csv.QuoteMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.csv.Token.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withAllowDuplicateHeaderNames() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withAllowDuplicateHeaderNames(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withAllowMissingColumnNames() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withAllowMissingColumnNames(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withAutoFlush(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withCommentMarker(char) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withCommentMarker(Character) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withDelimiter(char) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withEscape(char) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withEscape(Character) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withFirstRecordAsHeader() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withHeader(Class<? extends Enum<?>>) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withHeader(String...) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withHeader(ResultSet) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withHeader(ResultSetMetaData) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withHeaderComments(Object...) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withIgnoreEmptyLines() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withIgnoreEmptyLines(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withIgnoreHeaderCase() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withIgnoreHeaderCase(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withIgnoreSurroundingSpaces() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withIgnoreSurroundingSpaces(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withNullString(String) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withQuote(char) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withQuote(Character) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withQuoteMode(QuoteMode) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withRecordSeparator(char) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withRecordSeparator(String) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withSkipHeaderRecord() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withSkipHeaderRecord(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withSystemRecordSeparator() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withTrailingDelimiter() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withTrailingDelimiter(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withTrim() - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
- withTrim(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Deprecated.
All Classes All Packages