public String localMoveCar(Car car,boolean isManifest){
  StringBuffer buf=new StringBuffer();
  String[] format;
  if (isManifest) {
    format=Setup.getLocalManifestMessageFormat();
  }
 else {
    format=Setup.getLocalSwitchListMessageFormat();
  }
  for (  String attribute : format) {
    String s=getCarAttribute(car,attribute,!PICKUP,LOCAL);
    buf.append(s);
  }
  return buf.toString();
}

public String localMoveCar ( Car car , boolean isManifest ) { StringBuffer buf = new StringBuffer ( ) ; String [ ] format ; if ( isManifest ) { format = Setup . getLocalManifestMessageFormat ( ) ; } else { format = Setup . getLocalSwitchListMessageFormat ( ) ; } for ( String attribute : format ) { String s = getCarAttribute ( car , attribute , ! PICKUP , LOCAL ) ; buf . append ( s ) ; } return buf . toString ( ) ; }
returns the move car string . useful for frames like train conductor and yardmaster .
