protected void pickupUtilityCars(PrintWriter file,List<Car> carList,Car car,boolean isManifest){
  String[] format;
  if (isManifest) {
    format=Setup.getPickupUtilityManifestMessageFormat();
  }
 else {
    format=Setup.getPickupUtilitySwitchListMessageFormat();
  }
  int count=countUtilityCars(format,carList,car,PICKUP);
  if (count == 0) {
    return;
  }
  pickUpCar(file,car,new StringBuffer(padAndTruncateString(Setup.getPickupCarPrefix(),isManifest ? Setup.getManifestPrefixLength() : Setup.getSwitchListPrefixLength()) + " " + padString(Integer.toString(count),UTILITY_CAR_COUNT_FIELD_SIZE)),format,isManifest);
}

protected void pickupUtilityCars ( PrintWriter file , List < Car > carList , Car car , boolean isManifest ) { String [ ] format ; if ( isManifest ) { format = Setup . getPickupUtilityManifestMessageFormat ( ) ; } else { format = Setup . getPickupUtilitySwitchListMessageFormat ( ) ; } int count = countUtilityCars ( format , carList , car , PICKUP ) ; if ( count == 0 ) { return ; } pickUpCar ( file , car , new StringBuffer ( padAndTruncateString ( Setup . getPickupCarPrefix ( ) , isManifest ? Setup . getManifestPrefixLength ( ) : Setup . getSwitchListPrefixLength ( ) ) + " " + padString ( Integer . toString ( count ) , UTILITY_CAR_COUNT_FIELD_SIZE ) ) , format , isManifest ) ; }
add a list of utility cars scheduled for pick up from the route location to the output file . the cars are blocked by destination .
