Examples/src/main/java/org/openestate/io/examples/IdxReadingExample.java
protected static void read(File csvFile) throws IOException {
        LOGGER.info("process file: " + csvFile.getAbsolutePath());
        if (!csvFile.isFile()) {
            LOGGER.warn("> The provided file is invalid!");
            return;
        }
        try (IdxParser parser = IdxParser.create(csvFile)) {
            if (parser == null)
                LOGGER.warn("> Can't create parser!");
            else
                printToConsole(parser);
        }
    }
protected static void read(File csvFile) throws IOException {
        LOGGER.info("process file: " + csvFile.getAbsolutePath());
        if (!csvFile.isFile()) {
            LOGGER.warn("> The provided file is invalid!");
            return;
        }
        try (IdxParser parser = IdxParser.create(csvFile)) {
            if (parser == null)
                LOGGER.warn("> Can't create parser!");
            else
                printToConsole(parser);
        }
    }
protected static void read ( File csvFile ) throws IOException { LOGGER . info ( "process file: " + csvFile . getAbsolutePath ( ) ) ; if ( ! csvFile . isFile ( ) ) { LOGGER . warn ( "> The provided file is invalid!" ) ; return ; } try ( IdxParser parser = IdxParser . create ( csvFile ) ) { if ( parser == null ) LOGGER . warn ( "> Can't create parser!" ) ; else printToConsole ( parser ) ; } }
Read a {@link File} into an {@link IdxParser} and print some of its
content to console.

@param csvFile the CSV file to read
@throws IOException if the file is not readable
Read a { @link File } into an { @link IdxParser } and print some of its content to console .