Groovy web console

subscribe to the feed Subscribe
to this
site

fileReader method

Published 2 months ago by Rutger de Vries with tags fileReader
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def createFileReader(df){
     return fileReader.csvParser(df, CSVFormat.DEFAULT
        .withFirstRecordAsHeader()
        .withIgnoreHeaderCase()
        .withTrim()
        .withDelimiter(';' as char))
}