A C D E F G H I L M N O P R S T U V W

A

addField(CSVField) - Method in class org.apache.commons.csv.writer.CSVConfig
 
analyseLines(String[]) - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
 
append(CharBuffer) - Method in class org.apache.commons.csv.CharBuffer
Appends the contents of cb to the end of this CharBuffer.
append(String) - Method in class org.apache.commons.csv.CharBuffer
Appends s to the end of this CharBuffer.
append(StringBuffer) - Method in class org.apache.commons.csv.CharBuffer
Appends sb to the end of this CharBuffer.
append(char[]) - Method in class org.apache.commons.csv.CharBuffer
Appends data to the end of this CharBuffer.
append(char) - Method in class org.apache.commons.csv.CharBuffer
Appends a single character to the end of this CharBuffer.

C

c - Variable in class org.apache.commons.csv.CharBuffer
 
capacity() - Method in class org.apache.commons.csv.CharBuffer
Returns the current capacity of the buffer.
charAt(int) - Method in class org.apache.commons.csv.CharBuffer
Returns the character at the specified position.
CharBuffer - Class in org.apache.commons.csv
A simple StringBuffer replacement that aims to reduce copying as much as possible.
CharBuffer() - Constructor for class org.apache.commons.csv.CharBuffer
Creates a new CharBuffer with an initial capacity of 32 characters.
CharBuffer(int) - Constructor for class org.apache.commons.csv.CharBuffer
Creates a new CharBuffer with an initial capacity of length characters.
clear() - Method in class org.apache.commons.csv.CharBuffer
Empties the buffer.
clone() - Method in class org.apache.commons.csv.CSVStrategy
 
code - Variable in class org.apache.commons.csv.CSVParser
 
COMMENTS_DISABLED - Static variable in class org.apache.commons.csv.CSVStrategy
 
commentStart - Variable in class org.apache.commons.csv.CSVStrategy
 
config - Variable in class org.apache.commons.csv.writer.CSVConfigGuesser
The found config
config - Variable in class org.apache.commons.csv.writer.CSVWriter
The CSV config
content - Variable in class org.apache.commons.csv.CSVParser.Token
The content buffer.
CSVConfig - Class in org.apache.commons.csv.writer
The CSVConfig is used to configure the CSV writer
CSVConfig() - Constructor for class org.apache.commons.csv.writer.CSVConfig
 
CSVConfigGuesser - Class in org.apache.commons.csv.writer
Tries to guess a config based on an InputStream.
CSVConfigGuesser() - Constructor for class org.apache.commons.csv.writer.CSVConfigGuesser
 
CSVConfigGuesser(InputStream) - Constructor for class org.apache.commons.csv.writer.CSVConfigGuesser
 
CSVField - Class in org.apache.commons.csv.writer
 
CSVField() - Constructor for class org.apache.commons.csv.writer.CSVField
 
CSVField(String) - Constructor for class org.apache.commons.csv.writer.CSVField
 
CSVField(String, int) - Constructor for class org.apache.commons.csv.writer.CSVField
 
CSVParser - Class in org.apache.commons.csv
Parses CSV files according to the specified configuration.
CSVParser(InputStream) - Constructor for class org.apache.commons.csv.CSVParser
Deprecated. use CSVParser.CSVParser(Reader).
CSVParser(Reader) - Constructor for class org.apache.commons.csv.CSVParser
CSV parser using the default CSVStrategy.
CSVParser(Reader, char) - Constructor for class org.apache.commons.csv.CSVParser
Deprecated. use CSVParser.CSVParser(Reader,CSVStrategy).
CSVParser(Reader, char, char, char) - Constructor for class org.apache.commons.csv.CSVParser
Deprecated. use CSVParser.CSVParser(Reader,CSVStrategy).
CSVParser(Reader, CSVStrategy) - Constructor for class org.apache.commons.csv.CSVParser
Customized CSV parser using the given CSVStrategy
CSVParser.Token - Class in org.apache.commons.csv
Token is an internal token representation.
CSVParser.Token() - Constructor for class org.apache.commons.csv.CSVParser.Token
 
CSVPrinter - Class in org.apache.commons.csv
Print values as a comma separated list.
CSVPrinter(OutputStream) - Constructor for class org.apache.commons.csv.CSVPrinter
Create a printer that will print values to the given stream.
CSVPrinter(Writer) - Constructor for class org.apache.commons.csv.CSVPrinter
Create a printer that will print values to the given stream.
CSVStrategy - Class in org.apache.commons.csv
CSVStrategy Represents the strategy for a CSV.
CSVStrategy(char, char, char) - Constructor for class org.apache.commons.csv.CSVStrategy
 
CSVStrategy(char, char, char, char, boolean, boolean, boolean, boolean) - Constructor for class org.apache.commons.csv.CSVStrategy
Customized CSV strategy setter.
CSVStrategy(char, char, char, boolean, boolean, boolean) - Constructor for class org.apache.commons.csv.CSVStrategy
Deprecated.  
CSVUtils - Class in org.apache.commons.csv
Utility methods for dealing with CSV files
CSVUtils() - Constructor for class org.apache.commons.csv.CSVUtils
CSVUtils instances should NOT be constructed in standard programming.
CSVWriter - Class in org.apache.commons.csv.writer
CSVWriter
CSVWriter() - Constructor for class org.apache.commons.csv.writer.CSVWriter
 
CSVWriter(CSVConfig) - Constructor for class org.apache.commons.csv.writer.CSVWriter
 

D

DEFAULT_STRATEGY - Static variable in class org.apache.commons.csv.CSVStrategy
 
delimiter - Variable in class org.apache.commons.csv.CSVStrategy
 
delimiter - Variable in class org.apache.commons.csv.writer.CSVConfig
The seperator character.

E

EMPTY_DOUBLE_STRING_ARRAY - Static variable in class org.apache.commons.csv.CSVUtils
 
EMPTY_STRING_ARRAY - Static variable in class org.apache.commons.csv.CSVParser
Immutable empty String array.
EMPTY_STRING_ARRAY - Static variable in class org.apache.commons.csv.CSVUtils
 
encapsulatedTokenLexer(CSVParser.Token, int) - Method in class org.apache.commons.csv.CSVParser
An encapsulated token lexer Encapsulated tokens are surrounded by the given encapsulating-string.
encapsulator - Variable in class org.apache.commons.csv.CSVStrategy
 
END_OF_STREAM - Static variable in class org.apache.commons.csv.ExtendedBufferedReader
the end of stream symbol
endTrimmed - Variable in class org.apache.commons.csv.writer.CSVConfig
Specifies if the end of the line needs to be trimmed
equals(Object) - Method in class org.apache.commons.csv.writer.CSVConfig
TODO..
escape - Variable in class org.apache.commons.csv.CSVStrategy
 
ESCAPE_DISABLED - Static variable in class org.apache.commons.csv.CSVStrategy
 
escapeAndQuote(String) - Method in class org.apache.commons.csv.CSVPrinter
Enclose the value in quotes and escape the quote and comma characters that are inside.
EXCEL_STRATEGY - Static variable in class org.apache.commons.csv.CSVStrategy
 
ExtendedBufferedReader - Class in org.apache.commons.csv
ExtendedBufferedReader A special reader decorater which supports more sophisticated access to the underlying reader object.
ExtendedBufferedReader(Reader) - Constructor for class org.apache.commons.csv.ExtendedBufferedReader
Created extended buffered reader using default buffer-size
ExtendedBufferedReader(Reader, int) - Constructor for class org.apache.commons.csv.ExtendedBufferedReader
Create extended buffered reader using the given buffer-size

F

fieldHeader - Variable in class org.apache.commons.csv.writer.CSVConfig
Specifies if we want to use a field header
fields - Variable in class org.apache.commons.csv.writer.CSVConfig
list of fields
fill - Variable in class org.apache.commons.csv.writer.CSVConfig
The fill pattern
fill - Variable in class org.apache.commons.csv.writer.CSVField
 
fillChar - Variable in class org.apache.commons.csv.writer.CSVConfig
The fill char.
FILLLEFT - Static variable in class org.apache.commons.csv.writer.CSVConfig
Fill content the the left.
FILLNONE - Static variable in class org.apache.commons.csv.writer.CSVConfig
Do no do any filling
FILLRIGHT - Static variable in class org.apache.commons.csv.writer.CSVConfig
Fill content to the right.
fixedWidth - Variable in class org.apache.commons.csv.writer.CSVConfig
specifies if it is a fixed width csv file

G

getAllValues() - Method in class org.apache.commons.csv.CSVParser
Parses the CSV according to the given strategy and returns the content as an array of records (whereas records are arrays of single values).
getCharacters() - Method in class org.apache.commons.csv.CharBuffer
Returns the contents of the buffer as a char[].
getCommentStart() - Method in class org.apache.commons.csv.CSVStrategy
 
getConfig() - Method in class org.apache.commons.csv.writer.CSVWriter
 
getDelimiter() - Method in class org.apache.commons.csv.CSVStrategy
 
getDelimiter() - Method in class org.apache.commons.csv.writer.CSVConfig
 
getEncapsulator() - Method in class org.apache.commons.csv.CSVStrategy
 
getEscape() - Method in class org.apache.commons.csv.CSVStrategy
 
getField(String) - Method in class org.apache.commons.csv.writer.CSVConfig
 
getFields() - Method in class org.apache.commons.csv.writer.CSVConfig
 
getFill() - Method in class org.apache.commons.csv.writer.CSVConfig
 
getFill() - Method in class org.apache.commons.csv.writer.CSVField
 
getFillChar() - Method in class org.apache.commons.csv.writer.CSVConfig
 
getIgnoreEmptyLines() - Method in class org.apache.commons.csv.CSVStrategy
 
getIgnoreLeadingWhitespaces() - Method in class org.apache.commons.csv.CSVStrategy
 
getIgnoreTrailingWhitespaces() - Method in class org.apache.commons.csv.CSVStrategy
 
getInputStream() - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
Allow override.
getLine() - Method in class org.apache.commons.csv.CSVParser
Parses from the current point in the stream til the end of the current line.
getLineNumber() - Method in class org.apache.commons.csv.CSVParser
Returns the current line number in the input stream.
getLineNumber() - Method in class org.apache.commons.csv.ExtendedBufferedReader
Returns the nof line read ATTENTION: the skip-method does invalidate the line-number counter
getName() - Method in class org.apache.commons.csv.writer.CSVField
 
getSize() - Method in class org.apache.commons.csv.writer.CSVField
 
getStrategy() - Method in class org.apache.commons.csv.CSVParser
Obtain the specified CSV Strategy
getStrategy() - Method in class org.apache.commons.csv.CSVPrinter
Obtain the specified CSV Strategy
getUnicodeEscapeInterpretation() - Method in class org.apache.commons.csv.CSVStrategy
 
getValueDelimiter() - Method in class org.apache.commons.csv.writer.CSVConfig
 
guess() - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
Guess the config based on the first 10 (or less when less available) records of a CSV file.
guessConfig(InputStream) - Static method in class org.apache.commons.csv.writer.CSVConfig
Creates a config based on a stream.
guessFieldSeperator(String[]) - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
 
guessFixedWidth(String[]) - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
Guess if this file is fixedwidth.
guessFixedWidthSeperator(String[]) - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
 

H

hasFieldHeader - Variable in class org.apache.commons.csv.writer.CSVConfigGuesser
if the file has a field header (need this info, to be able to guess better) Defaults to false
hasFieldHeader() - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
 

I

ignoreDelimiter - Variable in class org.apache.commons.csv.writer.CSVConfig
Should we ignore the delimiter.
ignoreEmptyLines - Variable in class org.apache.commons.csv.CSVStrategy
 
ignoreLeadingWhitespaces - Variable in class org.apache.commons.csv.CSVStrategy
 
ignoreTrailingWhitespaces - Variable in class org.apache.commons.csv.CSVStrategy
 
ignoreValueDelimiter - Variable in class org.apache.commons.csv.writer.CSVConfig
Should we ignore the value delimiter.
in - Variable in class org.apache.commons.csv.CSVParser
 
in - Variable in class org.apache.commons.csv.writer.CSVConfigGuesser
The stream to read
INITIAL_TOKEN_LENGTH - Static variable in class org.apache.commons.csv.CSVParser
length of the initial token (content-)buffer
interpretUnicodeEscapes - Variable in class org.apache.commons.csv.CSVStrategy
 
isCommentingDisabled() - Method in class org.apache.commons.csv.CSVStrategy
 
isDelimiterIgnored() - Method in class org.apache.commons.csv.writer.CSVConfig
 
isEndOfFile(int) - Method in class org.apache.commons.csv.CSVParser
 
isEndOfLine(int) - Method in class org.apache.commons.csv.CSVParser
Greedy - accepts \n and \r\n This checker consumes silently the second control-character...
isEndTrimmed() - Method in class org.apache.commons.csv.writer.CSVConfig
 
isFieldHeader() - Method in class org.apache.commons.csv.writer.CSVConfig
 
isFixedWidth() - Method in class org.apache.commons.csv.writer.CSVConfig
 
isReady - Variable in class org.apache.commons.csv.CSVParser.Token
Token ready flag: indicates a valid token with content (ready for the parser).
isValueDelimiterIgnored() - Method in class org.apache.commons.csv.writer.CSVConfig
 
isWhitespace(int) - Method in class org.apache.commons.csv.CSVParser
 

L

lastChar - Variable in class org.apache.commons.csv.ExtendedBufferedReader
the last char returned
length - Variable in class org.apache.commons.csv.CharBuffer
Actually used number of characters in the array.
length() - Method in class org.apache.commons.csv.CharBuffer
Returns the number of characters in the buffer.
line - Variable in class org.apache.commons.csv.ExtendedBufferedReader
 
lineCounter - Variable in class org.apache.commons.csv.ExtendedBufferedReader
the line counter
lookAhead() - Method in class org.apache.commons.csv.ExtendedBufferedReader
Returns the next char in the stream without consuming it.
lookaheadChar - Variable in class org.apache.commons.csv.ExtendedBufferedReader
the lookahead chars

M

markSupported() - Method in class org.apache.commons.csv.ExtendedBufferedReader
 

N

name - Variable in class org.apache.commons.csv.writer.CSVField
 
newLine - Variable in class org.apache.commons.csv.CSVPrinter
True if we just began a new line.
nextToken() - Method in class org.apache.commons.csv.CSVParser
Convenience method for nextToken(null).
nextToken(CSVParser.Token) - Method in class org.apache.commons.csv.CSVParser
Returns the next token.
nextValue() - Method in class org.apache.commons.csv.CSVParser
Parses the CSV according to the given strategy and returns the next csv-value as string.

O

org.apache.commons.csv - package org.apache.commons.csv
Jakarta-Commons CSV Format Support
org.apache.commons.csv.writer - package org.apache.commons.csv.writer
 
out - Variable in class org.apache.commons.csv.CSVPrinter
The place that the values get written.
overrideFill - Variable in class org.apache.commons.csv.writer.CSVField
 
overrideFill() - Method in class org.apache.commons.csv.writer.CSVField
Does this field override fill ?

P

parse(String) - Static method in class org.apache.commons.csv.CSVUtils
Parses the given String according to the default CSVStrategy.
parseLine(String) - Static method in class org.apache.commons.csv.CSVUtils
Parses the first line only according to the default CSVStrategy.
print(String) - Method in class org.apache.commons.csv.CSVPrinter
Print the string as the next value on the line.
printLine(String[]) - Static method in class org.apache.commons.csv.CSVUtils
Converts an array of string values into a single CSV line.
println(String) - Method in class org.apache.commons.csv.CSVPrinter
Print the string as the last value on the line.
println() - Method in class org.apache.commons.csv.CSVPrinter
Output a blank line
println(String[]) - Method in class org.apache.commons.csv.CSVPrinter
Print a single line of comma separated values.
println(String[][]) - Method in class org.apache.commons.csv.CSVPrinter
Print several lines of comma separated values.
printlnComment(String) - Method in class org.apache.commons.csv.CSVPrinter
Put a comment among the comma separated values.
provideCapacity(int) - Method in class org.apache.commons.csv.CharBuffer
Copies the data into a new array of at least capacity size.

R

read() - Method in class org.apache.commons.csv.ExtendedBufferedReader
Reads the next char from the input stream.
read(char[], int, int) - Method in class org.apache.commons.csv.ExtendedBufferedReader
Non-blocking reading of len chars into buffer buf starting at bufferposition off.
readAgain() - Method in class org.apache.commons.csv.ExtendedBufferedReader
Returns the last read character again.
readEscape(int) - Method in class org.apache.commons.csv.CSVParser
 
readLine() - Method in class org.apache.commons.csv.ExtendedBufferedReader
 
readUntil(char) - Method in class org.apache.commons.csv.ExtendedBufferedReader
Reads all characters up to (but not including) the given character.
record - Variable in class org.apache.commons.csv.CSVParser
A record buffer for getLine().
reset() - Method in class org.apache.commons.csv.CSVParser.Token
 
reusableToken - Variable in class org.apache.commons.csv.CSVParser
 

S

setCommentStart(char) - Method in class org.apache.commons.csv.CSVStrategy
 
setConfig(CSVConfig) - Method in class org.apache.commons.csv.writer.CSVWriter
Set the CSVConfig
setDelimiter(char) - Method in class org.apache.commons.csv.CSVStrategy
 
setDelimiter(char) - Method in class org.apache.commons.csv.writer.CSVConfig
Set the delimiter to use
setEncapsulator(char) - Method in class org.apache.commons.csv.CSVStrategy
 
setEndTrimmed(boolean) - Method in class org.apache.commons.csv.writer.CSVConfig
Specify if the end of the line needs to be trimmed.
setEscape(char) - Method in class org.apache.commons.csv.CSVStrategy
 
setFieldHeader(boolean) - Method in class org.apache.commons.csv.writer.CSVConfig
Specify if you want to use a field header.
setFields(CSVField[]) - Method in class org.apache.commons.csv.writer.CSVConfig
Set the fields that should be used by the writer.
setFields(Collection) - Method in class org.apache.commons.csv.writer.CSVConfig
Set the fields that should be used by the writer
setFill(int) - Method in class org.apache.commons.csv.writer.CSVConfig
Set the fill pattern.
setFill(int) - Method in class org.apache.commons.csv.writer.CSVField
Sets overrideFill to true.
setFillChar(char) - Method in class org.apache.commons.csv.writer.CSVConfig
Set the fill char
setFixedWidth(boolean) - Method in class org.apache.commons.csv.writer.CSVConfig
Specify if the CSV file is fixed width.
setHasFieldHeader(boolean) - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
Specify if the CSV file has a field header
setIgnoreDelimiter(boolean) - Method in class org.apache.commons.csv.writer.CSVConfig
Specify if the writer should ignore the delimiter.
setIgnoreEmptyLines(boolean) - Method in class org.apache.commons.csv.CSVStrategy
 
setIgnoreLeadingWhitespaces(boolean) - Method in class org.apache.commons.csv.CSVStrategy
 
setIgnoreTrailingWhitespaces(boolean) - Method in class org.apache.commons.csv.CSVStrategy
 
setIgnoreValueDelimiter(boolean) - Method in class org.apache.commons.csv.writer.CSVConfig
Specify if the writer should ignore the value delimiter.
setInputStream(InputStream) - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
 
setName(String) - Method in class org.apache.commons.csv.writer.CSVField
Set the name of the field
setSize(int) - Method in class org.apache.commons.csv.writer.CSVField
Set the size of the field.
setStrategy(CSVStrategy) - Method in class org.apache.commons.csv.CSVParser
Deprecated. the strategy should be set in the constructor CSVParser.CSVParser(Reader,CSVStrategy).
setStrategy(CSVStrategy) - Method in class org.apache.commons.csv.CSVPrinter
Sets the specified CSV Strategy
setUnicodeEscapeInterpretation(boolean) - Method in class org.apache.commons.csv.CSVStrategy
 
setValueDelimiter(char) - Method in class org.apache.commons.csv.writer.CSVConfig
Set the value delimiter to use
setWriter(Writer) - Method in class org.apache.commons.csv.writer.CSVWriter
Set the writer to write the CSV file to.
shrink() - Method in class org.apache.commons.csv.CharBuffer
Shrinks the capacity of the buffer to the current length if necessary.
simpleTokenLexer(CSVParser.Token, int) - Method in class org.apache.commons.csv.CSVParser
A simple token lexer Simple token are tokens which are not surrounded by encapsulators.
size - Variable in class org.apache.commons.csv.writer.CSVField
 
skip(long) - Method in class org.apache.commons.csv.ExtendedBufferedReader
Skips char in the stream ATTENTION: invalidates the line-counter !!!!!
skipUntil(char) - Method in class org.apache.commons.csv.ExtendedBufferedReader
Skips all chars in the input until (but excluding) the given char
strategy - Variable in class org.apache.commons.csv.CSVParser
 
strategy - Variable in class org.apache.commons.csv.CSVPrinter
 

T

TDF_STRATEGY - Static variable in class org.apache.commons.csv.CSVStrategy
 
toString() - Method in class org.apache.commons.csv.CharBuffer
Converts the contents of the buffer into a StringBuffer.
toStringBuffer() - Method in class org.apache.commons.csv.CharBuffer
Converts the contents of the buffer into a StringBuffer.
trimTrailingWhitespace() - Method in class org.apache.commons.csv.CharBuffer
Removes trailing whitespace.
TT_EOF - Static variable in class org.apache.commons.csv.CSVParser
Token (which can have content) when end of file is reached.
TT_EORECORD - Static variable in class org.apache.commons.csv.CSVParser
Token with content when end of a line is reached.
TT_INVALID - Static variable in class org.apache.commons.csv.CSVParser
Token has no valid content, i.e.
TT_TOKEN - Static variable in class org.apache.commons.csv.CSVParser
Token with content, at beginning or in the middle of a line.
type - Variable in class org.apache.commons.csv.CSVParser.Token
Token type, see TT_xxx constants.

U

UNDEFINED - Static variable in class org.apache.commons.csv.ExtendedBufferedReader
undefined state for the lookahead char
unicodeEscapeLexer(int) - Method in class org.apache.commons.csv.CSVParser
Decodes Unicode escapes.

V

valueDelimiter - Variable in class org.apache.commons.csv.writer.CSVConfig
the value delimiter.

W

writer - Variable in class org.apache.commons.csv.writer.CSVWriter
The writer
writeRecord(Map) - Method in class org.apache.commons.csv.writer.CSVWriter
 
writeValue(CSVField, String) - Method in class org.apache.commons.csv.writer.CSVWriter
 
wsBuf - Variable in class org.apache.commons.csv.CSVParser
 

A C D E F G H I L M N O P R S T U V W