|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.plugins.csv.CSVReaderUtils
class CSVReaderUtils extends Object
Utility class for adding CSV parsing capability to core Java/Groovy classes (String, File, InputStream, Reader).
| Constructor Summary | |
CSVReaderUtils()
|
|
| Method Summary | |
|---|---|
static void
|
eachLine(au.com.bytecode.opencsv.CSVReader csvReader, Closure c)
|
static void
|
eachLine(File file, Closure c)
|
static void
|
eachLine(InputStream is, Closure c)
|
static void
|
eachLine(Reader r, Closure c)
|
static void
|
eachLine(String csv, Closure c)
|
static au.com.bytecode.opencsv.CSVReader
|
toCsvReader(File file, def settingsMap)
|
static au.com.bytecode.opencsv.CSVReader
|
toCsvReader(InputStream is, def settingsMap)
|
static au.com.bytecode.opencsv.CSVReader
|
toCsvReader(Reader r, def settingsMap)
|
static au.com.bytecode.opencsv.CSVReader
|
toCsvReader(String s, def settingsMap)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Constructor Detail |
|---|
CSVReaderUtils()
| Method Detail |
|---|
static void eachLine(au.com.bytecode.opencsv.CSVReader csvReader, Closure c)
static void eachLine(File file, Closure c)
static void eachLine(InputStream is, Closure c)
static void eachLine(Reader r, Closure c)
static void eachLine(String csv, Closure c)
static au.com.bytecode.opencsv.CSVReader toCsvReader(File file, def settingsMap)
static au.com.bytecode.opencsv.CSVReader toCsvReader(InputStream is, def settingsMap)
static au.com.bytecode.opencsv.CSVReader toCsvReader(Reader r, def settingsMap)
static au.com.bytecode.opencsv.CSVReader toCsvReader(String s, def settingsMap)
Groovy Documentation