- get(Enum<?>) - Method in class org.apache.commons.csv.CSVRecord
-
Returns a value by Enum.
- 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.
- getAllowMissingColumnNames() - Method in class org.apache.commons.csv.CSVFormat
-
Specifies whether missing column names are allowed when parsing the header line.
- 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
-
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.
- getCurrentLineNumber() - Method in class org.apache.commons.csv.ExtendedBufferedReader
-
Returns the current line number
- getCurrentLineNumber() - Method in class org.apache.commons.csv.Lexer
-
Returns the current line number
- getDelimiter() - 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.
- 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
-
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 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.
- getLastChar() - Method in class org.apache.commons.csv.ExtendedBufferedReader
-
Returns the last character that was read as an integer (0 to 65535).
- 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.
- 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
-
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.
- ignoreEmptyLines - Variable in class org.apache.commons.csv.CSVFormat
-
- ignoreEmptyLines - Variable in class org.apache.commons.csv.Lexer
-
- ignoreHeaderCase - Variable in class org.apache.commons.csv.CSVFormat
-
- ignoreSurroundingSpaces - Variable in class org.apache.commons.csv.CSVFormat
-
- 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.)
- INITIAL_TOKEN_LENGTH - Static variable in class org.apache.commons.csv.Token
-
length of the initial token (content-)buffer
- initializeHeader() - Method in class org.apache.commons.csv.CSVParser
-
Initializes the name to index mapping if the format defines a header.
- isClosed() - Method in class org.apache.commons.csv.CSVParser
-
Gets whether this parser is closed.
- isClosed() - Method in class org.apache.commons.csv.ExtendedBufferedReader
-
- isClosed() - Method in class org.apache.commons.csv.Lexer
-
- isCommentMarkerSet() - Method in class org.apache.commons.csv.CSVFormat
-
Specifies 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(int) - Method in class org.apache.commons.csv.Lexer
-
- isEndOfFile(int) - Method in class org.apache.commons.csv.Lexer
-
- isEscape(int) - Method in class org.apache.commons.csv.Lexer
-
- isEscapeCharacterSet() - Method in class org.apache.commons.csv.CSVFormat
-
Returns whether escape are being processed.
- 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
-
Returns whether a nullString has been defined.
- isQuoteChar(int) - Method in class org.apache.commons.csv.Lexer
-
- isQuoteCharacterSet() - Method in class org.apache.commons.csv.CSVFormat
-
Returns whether a quoteChar has been defined.
- isReady - Variable in class org.apache.commons.csv.Token
-
Token ready flag: indicates a valid token with content (ready for the parser).
- isSet(String) - Method in class org.apache.commons.csv.CSVRecord
-
Checks whether a given columns is mapped and has a value.
- isStartOfLine(int) - Method in class org.apache.commons.csv.Lexer
-
Checks if the current character represents the start of a line: a CR, LF or is at the start of the file.
- isWhitespace(int) - Method in class org.apache.commons.csv.Lexer
-
- iterator() - Method in class org.apache.commons.csv.CSVParser
-
Returns an iterator on the records.
- iterator() - Method in class org.apache.commons.csv.CSVRecord
-
Returns an iterator over the values of this record.
- PARAGRAPH_SEPARATOR - Static variable in class org.apache.commons.csv.Constants
-
Unicode paragraph separator.
- 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 a parser for the given Path.
- 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 a parser for the given URL.
- parseEncapsulatedToken(Token) - Method in class org.apache.commons.csv.Lexer
-
Parses an encapsulated token.
- 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 number of characters read so far
- 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.
- Predefined(CSVFormat) - Constructor for enum org.apache.commons.csv.CSVFormat.Predefined
-
- 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(Path, 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(Object, CharSequence, int, int, Appendable, boolean) - Method in class org.apache.commons.csv.CSVFormat
-
- print(Object) - Method in class org.apache.commons.csv.CSVPrinter
-
Prints the string as the next value on the line.
- printAndEscape(CharSequence, int, int, Appendable) - Method in class org.apache.commons.csv.CSVFormat
-
- printAndQuote(Object, CharSequence, int, int, Appendable, boolean) - Method in class org.apache.commons.csv.CSVFormat
-
- 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.
- 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.
- putIn(M) - Method in class org.apache.commons.csv.CSVRecord
-
Puts all values of this record into the given Map.
- withAllowMissingColumnNames() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the missing column names behavior of the format set to true
- withAllowMissingColumnNames(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the missing column names behavior of the format set to the given value.
- withCommentMarker(char) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the comment start marker of the format set to the specified character.
- withCommentMarker(Character) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the comment start marker of the format set to the specified character.
- withDelimiter(char) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the delimiter of the format set to the specified character.
- withEscape(char) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the escape character of the format set to the specified character.
- withEscape(Character) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the escape character of the format set to the specified character.
- withFirstRecordAsHeader() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat using the first record as header.
- withHeader(Class<? extends Enum<?>>) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the header of the format defined by the enum class.
- withHeader(ResultSet) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the header of the format set from the result set metadata.
- withHeader(ResultSetMetaData) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the header of the format set from the result set metadata.
- withHeader(String...) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the header of the format set to the given values.
- withHeaderComments(Object...) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the header comments of the format set to the given values.
- withIgnoreEmptyLines() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the empty line skipping behavior of the format set to true.
- withIgnoreEmptyLines(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the empty line skipping behavior of the format set to the given value.
- withIgnoreHeaderCase() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the header ignore case behavior set to true.
- withIgnoreHeaderCase(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with whether header names should be accessed ignoring case.
- withIgnoreSurroundingSpaces() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the trimming behavior of the format set to true.
- withIgnoreSurroundingSpaces(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the trimming behavior of the format set to the given value.
- withNullString(String) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with conversions to and from null for strings on input and output.
- withQuote(char) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the quoteChar of the format set to the specified character.
- withQuote(Character) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the quoteChar of the format set to the specified character.
- withQuoteMode(QuoteMode) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the output quote policy of the format set to the specified value.
- withRecordSeparator(char) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the record separator of the format set to the specified character.
- withRecordSeparator(String) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with the record separator of the format set to the specified String.
- withSkipHeaderRecord() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with skipping the header record set to true.
- withSkipHeaderRecord(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with whether to skip the header record.
- withTrailingDelimiter() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat to add a trailing delimiter.
- withTrailingDelimiter(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with whether to add a trailing delimiter.
- withTrim() - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat to trim leading and trailing blanks.
- withTrim(boolean) - Method in class org.apache.commons.csv.CSVFormat
-
Returns a new CSVFormat with whether to trim leading and trailing blanks.