Driver drv = dev.getDriver(idrv);
IPatchDriver drv = (IPatchDriver)dev.getDriver(idrv);
    private boolean chooseDriver(Device dev) {        StringBuffer patchString = getPatchHeader();        for (int idrv = 0; idrv < dev.driverCount(); idrv++) {	    // iterating over all Drivers of the given device	    Driver drv = dev.getDriver(idrv);	    if (drv.supportsPatch(patchString, this)) {		drv.trimSysex(this);		setDriver(drv);		return true;	    }        }        // Unkown patch, try to guess at least the manufacturer        comment = new StringBuffer("Probably a "				   + LookupManufacturer.get(sysex[1], sysex[2], sysex[3])				   + " Patch, Size: " + sysex.length);	setDriver(AppConfig.getNullDriver());	return false;    }