Examples/src/main/java/org/openestate/io/examples/Is24CsvReadingExample.java
protected static void printToConsole(Is24CsvParser parser) {
        // process records
        while (parser.hasNext()) {
            Is24CsvRecord record = parser.next();

            // get object nr
            String objectNr = record.getAnbieterObjektId();
            if (objectNr == null) objectNr = "???";

            // get object title
            String objectTitle = record.getUeberschrift();
            if (objectTitle == null) objectTitle = "???";

            // print object information to console
            LOGGER.info("> found object '" + objectNr + "' "
                    + "with title '" + objectTitle + "'");
        }
    }
protected static void printToConsole(Is24CsvParser parser) {
        // process records
        while (parser.hasNext()) {
            Is24CsvRecord record = parser.next();

            // get object nr
            String objectNr = record.getAnbieterObjektId();
            if (objectNr == null) objectNr = "???";

            // get object title
            String objectTitle = record.getUeberschrift();
            if (objectTitle == null) objectTitle = "???";

            // print object information to console
            LOGGER.info("> found object '" + objectNr + "' "
                    + "with title '" + objectTitle + "'");
        }
    }
protected static void printToConsole ( Is24CsvParser parser ) { // process records while ( parser . hasNext ( ) ) { Is24CsvRecord record = parser . next ( ) ; // get object nr String objectNr = record . getAnbieterObjektId ( ) ; if ( objectNr == null ) objectNr = "???" ; // get object title String objectTitle = record . getUeberschrift ( ) ; if ( objectTitle == null ) objectTitle = "???" ; // print object information to console LOGGER . info ( "> found object '" + objectNr + "' " + "with title '" + objectTitle + "'" ) ; } }
Print some content of an {@link Is24CsvParser} to console.

@param parser parser instance
Print some content of an { @link Is24CsvParser } to console .