public class Is24CsvReadingExample extends Object
This example illustrates the programatic creation of IS24-CSV records and how they are written into CSV.
Constructor and Description |
---|
Is24CsvReadingExample() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Start the example application.
|
protected static void |
printToConsole(Is24CsvParser parser)
Print some content of an
Is24CsvParser to console. |
protected static void |
read(File csvFile)
Read a
File into an Is24CsvParser and print some of its
content to console. |
protected static void |
read(InputStream csvInputStream)
Read an
InputStream into an Is24CsvParser and print some of
its content to console. |
public static void main(String[] args)
args
- command line argumentsprotected static void read(File csvFile) throws IOException
File
into an Is24CsvParser
and print some of its
content to console.csvFile
- the CSV file to readIOException
- if the file is not readableprotected static void read(InputStream csvInputStream) throws IOException
InputStream
into an Is24CsvParser
and print some of
its content to console.csvInputStream
- the input stream to readIOException
- if the file is not readableprotected static void printToConsole(Is24CsvParser parser)
Is24CsvParser
to console.parser
- parser instanceCopyright © 2015 OpenEstate. All rights reserved.