public class IdxReadingExample extends Object
This example illustrates how to read IDX files.
Constructor and Description |
---|
IdxReadingExample() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Start the example application.
|
protected static void |
printToConsole(IdxParser parser)
Print some content of an
IdxParser to console. |
protected static void |
read(File csvFile)
|
protected static void |
read(InputStream csvInputStream)
Read an
InputStream into an IdxParser 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
csvFile
- the CSV file to readIOException
- if the file is not readableprotected static void read(InputStream csvInputStream) throws IOException
InputStream
into an IdxParser
and print some of
its content to console.csvInputStream
- the input stream to readIOException
- if the file is not readableCopyright © 2015 OpenEstate. All rights reserved.