C D G P S

C

countOccurences(String, String) - Static method in class de.cweiske.tools.CSVReader
counts the number of occurences of strSearch in the strData string
CSVReader - class de.cweiske.tools.CSVReader.
a small CSV (comma separated values) reader parses a given string into an array of strings It is aware of: - separators inside field values - quotes inside of quoted field values - multiline field values It should be very small, but have the most needed/used features of CSV files It has not been designed to be fast or extreme memory-efficient.
CSVReader() - Constructor for class de.cweiske.tools.CSVReader
simple constructor
CSVReader(String) - Constructor for class de.cweiske.tools.CSVReader
constructor with CSV data as parameter
CSVReader(String, char) - Constructor for class de.cweiske.tools.CSVReader
constructor with CSV data and separator as parameter
CSVReader(String, char, boolean) - Constructor for class de.cweiske.tools.CSVReader
constructor with CSV data, separator and escape switch as parameter

D

de.cweiske.tools - package de.cweiske.tools
 

G

getAcceptEscapes() - Method in class de.cweiske.tools.CSVReader
 
getChar(int) - Method in class de.cweiske.tools.CSVReader
just get a single char from the string
getData() - Method in class de.cweiske.tools.CSVReader
 
getSeparator() - Method in class de.cweiske.tools.CSVReader
 
guessSeparator() - Method in class de.cweiske.tools.CSVReader
tries to guess the separator char by analyzing the CSV data

P

parseData() - Method in class de.cweiske.tools.CSVReader
same as parseData(0)
parseData(int) - Method in class de.cweiske.tools.CSVReader
parses the string and returns the CSV data in a two-dimensional string array

S

setAcceptEscapes(boolean) - Method in class de.cweiske.tools.CSVReader
if chars like '\"' and '\r' or '\n' shall be threat as quote, carriage return and newline (normally, they are threat as two chars and quotes are quoted as double-quotes)
setData(String) - Method in class de.cweiske.tools.CSVReader
set the file contents (CSV data) which can be parsed then
setSeparator(char) - Method in class de.cweiske.tools.CSVReader
sets the separator char.

C D G P S