question: public UrbansimCellBasedAccessibilityCSVWriterV2 ( String matsimOutputDirectory ) { log . info ( "Initializing  ..." ) ; try { accessibilityDataWriter = IOUtils . getBufferedWriter ( matsimOutputDirectory + "/" + ACCESSIBILITY_INDICATORS ) ; } catch ( Exception ee ) { ee . printStackTrace ( ) ; throw new RuntimeException ( "writer could not be instantiated" ) ; } if ( accessibilityDataWriter == null ) { throw new RuntimeException ( "writer is null" ) ; } try { accessibilityDataWriter . write ( Labels . ZONE_ID + "," + Labels . X_COORDINATE + "," + Labels . Y_COORDINATE + "," + Labels . ACCESSIBILITY_BY_FREESPEED + "," + Labels . ACCESSIBILITY_BY_CAR + "," + Labels . ACCESSIBILITY_BY_BIKE + "," + Labels . ACCESSIBILITY_BY_WALK + "," + Labels . ACCESSIBILITY_BY_PT ) ; accessibilityDataWriter . newLine ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; throw new RuntimeException ( "io did not work" ) ; } log . info ( "... done!" ) ; }
target:  writes the header of accessibility data csv file