public static void initUrbanSimZoneWriter(){
  try {
    log.info("Initializing UrbanSimParcelCSVWriter ...");
    parcelWriter=IOUtils.getBufferedWriter(InternalConstants.MATSIM_4_OPUS_TEMP + FILE_NAME);
    log.info("Writing data into " + InternalConstants.MATSIM_4_OPUS_TEMP + FILE_NAME+ " ...");
    parcelWriter.write(InternalConstants.PARCEL_ID + "," + InternalConstants.ACCESSIBILITY_BY_FREESPEED+ ","+ InternalConstants.ACCESSIBILITY_BY_CAR+ ","+ InternalConstants.ACCESSIBILITY_BY_BIKE+ ","+ InternalConstants.ACCESSIBILITY_BY_WALK);
    parcelWriter.newLine();
    log.info("... done!");
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

public static void initUrbanSimZoneWriter ( ) { try { log . info ( "Initializing UrbanSimParcelCSVWriter ..." ) ; parcelWriter = IOUtils . getBufferedWriter ( InternalConstants . MATSIM_4_OPUS_TEMP + FILE_NAME ) ; log . info ( "Writing data into " + InternalConstants . MATSIM_4_OPUS_TEMP + FILE_NAME + " ..." ) ; parcelWriter . write ( InternalConstants . PARCEL_ID + "," + InternalConstants . ACCESSIBILITY_BY_FREESPEED + "," + InternalConstants . ACCESSIBILITY_BY_CAR + "," + InternalConstants . ACCESSIBILITY_BY_BIKE + "," + InternalConstants . ACCESSIBILITY_BY_WALK ) ; parcelWriter . newLine ( ) ; log . info ( "... done!" ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
writes the header for zones csv file
