protected void dropCar(PrintWriter file,Car car,boolean isManifest){
  if (isManifest) {
    StringBuffer buf=new StringBuffer(padAndTruncateString(Setup.getDropCarPrefix(),Setup.getManifestPrefixLength()));
    String[] format=Setup.getDropManifestMessageFormat();
    boolean isLocal=isLocalMove(car);
    if (isLocal) {
      buf=new StringBuffer(padAndTruncateString(Setup.getLocalPrefix(),Setup.getManifestPrefixLength()));
      format=Setup.getLocalManifestMessageFormat();
    }
    dropCar(file,car,buf,format,isLocal,isManifest);
  }
 else {
    StringBuffer buf=new StringBuffer(padAndTruncateString(Setup.getSwitchListDropCarPrefix(),Setup.getSwitchListPrefixLength()));
    String[] format=Setup.getDropSwitchListMessageFormat();
    boolean isLocal=isLocalMove(car);
    if (isLocal) {
      buf=new StringBuffer(padAndTruncateString(Setup.getSwitchListLocalPrefix(),Setup.getSwitchListPrefixLength()));
      format=Setup.getLocalSwitchListMessageFormat();
    }
    dropCar(file,car,buf,format,isLocal,isManifest);
  }
}

protected void dropCar ( PrintWriter file , Car car , boolean isManifest ) { if ( isManifest ) { StringBuffer buf = new StringBuffer ( padAndTruncateString ( Setup . getDropCarPrefix ( ) , Setup . getManifestPrefixLength ( ) ) ) ; String [ ] format = Setup . getDropManifestMessageFormat ( ) ; boolean isLocal = isLocalMove ( car ) ; if ( isLocal ) { buf = new StringBuffer ( padAndTruncateString ( Setup . getLocalPrefix ( ) , Setup . getManifestPrefixLength ( ) ) ) ; format = Setup . getLocalManifestMessageFormat ( ) ; } dropCar ( file , car , buf , format , isLocal , isManifest ) ; } else { StringBuffer buf = new StringBuffer ( padAndTruncateString ( Setup . getSwitchListDropCarPrefix ( ) , Setup . getSwitchListPrefixLength ( ) ) ) ; String [ ] format = Setup . getDropSwitchListMessageFormat ( ) ; boolean isLocal = isLocalMove ( car ) ; if ( isLocal ) { buf = new StringBuffer ( padAndTruncateString ( Setup . getSwitchListLocalPrefix ( ) , Setup . getSwitchListPrefixLength ( ) ) ) ; format = Setup . getLocalSwitchListMessageFormat ( ) ; } dropCar ( file , car , buf , format , isLocal , isManifest ) ; } }
adds the car ' s set out string to the output file using the manifest or switch list format
