Skip navigation links
A B C D E F G H I L N O P S T U 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.

B

buf - Variable in class org.apache.commons.csv.CSVPrinter
 

C

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
 
COMMENTS_DISABLED - Static variable in class org.apache.commons.csv.CSVStrategy
 
config - Variable in class org.apache.commons.csv.writer.CSVConfigGuesser
The found config
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.
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
CSVParser(Reader, char, char, char) - Constructor for class org.apache.commons.csv.CSVParser
CSVParser(Reader, CSVStrategy) - Constructor for class org.apache.commons.csv.CSVParser
Customized CSV parser using the given CSVStrategy
CSVPrinter - Class in org.apache.commons.csv
Print values as a comma separated list.
CSVPrinter(Writer, CSVStrategy) - Constructor for class org.apache.commons.csv.CSVPrinter
Create a printer that will print values to the given stream following the CSVStrategy.
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
 

E

ENCAPSULATOR_DISABLED - Static variable in class org.apache.commons.csv.CSVStrategy
 
equals(Object) - Method in class org.apache.commons.csv.writer.CSVConfig
TODO..
ESCAPE_DISABLED - Static variable in class org.apache.commons.csv.CSVStrategy
 
EXCEL_STRATEGY - Static variable in class org.apache.commons.csv.CSVStrategy
 

F

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.
flush() - Method in class org.apache.commons.csv.CSVPrinter
 

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.
getName() - Method in class org.apache.commons.csv.writer.CSVField
 
getPrinterNewline() - Method in class org.apache.commons.csv.CSVStrategy
 
getRowDelimiter() - Method in class org.apache.commons.csv.writer.CSVConfig
 
getSize() - Method in class org.apache.commons.csv.writer.CSVField
 
getStrategy() - Method in class org.apache.commons.csv.CSVParser
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() - Method in class org.apache.commons.csv.writer.CSVConfigGuesser
 

I

isCommentingDisabled() - Method in class org.apache.commons.csv.CSVStrategy
 
isDelimiterIgnored() - Method in class org.apache.commons.csv.writer.CSVConfig
 
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
 
isValueDelimiterIgnored() - Method in class org.apache.commons.csv.writer.CSVConfig
 

L

length() - Method in class org.apache.commons.csv.CharBuffer
Returns the number of characters in the buffer.

N

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() - 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(char[], int, int, boolean) - Method in class org.apache.commons.csv.CSVPrinter
 
print(String, boolean) - Method in class org.apache.commons.csv.CSVPrinter
Print the string as the next value on the line.
print(String) - Method in class org.apache.commons.csv.CSVPrinter
Print the string as the next value on the line.
printLine(String[], CSVStrategy) - Static method in class org.apache.commons.csv.CSVUtils
Converts an array of string values into a single CSV 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.
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.

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
setPrinterNewline(String) - Method in class org.apache.commons.csv.CSVStrategy
 
setRowDelimiter(String) - Method in class org.apache.commons.csv.writer.CSVConfig
Set the rowDelimiter to use
setSize(int) - Method in class org.apache.commons.csv.writer.CSVField
Set the size of the field.
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.
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.

U

unicodeEscapeLexer(int) - Method in class org.apache.commons.csv.CSVParser
Decodes Unicode escapes.

W

writeRecord(Map) - Method in class org.apache.commons.csv.writer.CSVWriter
 
writeValue(CSVField, String) - Method in class org.apache.commons.csv.writer.CSVWriter
 
A B C D E F G H I L N O P S T U W 
Skip navigation links

Copyright © 2014 The Apache Software Foundation. All rights reserved.