}
protected void extractResults(HBCIMsgStatus msgstatus,String header,int idx)
{
Properties result=msgstatus.getData();
GVRKontoauszug umsResult=(GVRKontoauszug)jobResult;
String format = result.getProperty(header+".format");
String rawData = result.getProperty(header+".booked");
if (rawData!=null) {
if (format.equals("1")) {
umsResult.appendMT940Data(Swift.decodeUmlauts(rawData));
} else if (format.equals("2")) {
umsResult.appendISOData(rawData);
} else if (format.equals("3")) {
umsResult.appendPDFData(rawData);
} else {
HBCIUtils.log(
"unknown format in result for GV Kontoauszug: "+format,
HBCIUtils.LOG_ERR);
}
}
umsResult.setFormat(format);
umsResult.setStartDate(HBCIUtils.string2DateISO(result.getProperty(header+".TimeRange.startdate")));
umsResult.setEndDate(HBCIUtils.string2DateISO(result.getProperty(header+".TimeRange.enddate")));
umsResult.setAbschlussInfo(result.getProperty(header+".abschlussinfo"));
umsResult.setKundenInfo(result.getProperty(header+".kondinfo"));
umsResult.setWerbetext(result.getProperty(header+".ads"));
umsResult.setIBAN(result.getProperty(header+".iban"));
umsResult.setBIC(result.getProperty(header+".bic"));
umsResult.setName(result.getProperty(header+".name"));
umsResult.setName2(result.getProperty(header+".name2"));
umsResult.setName3(result.getProperty(header+".name3"));
umsResult.setReceipt(result.getProperty(header+".receipt"));
}