int function ( URI arg0 ) { try { return Integer . parseInt ( arg0 . getAuthority ( ) , 16 ) ; } catch ( NumberFormatException loc0 ) { throw new DataSourceResourceException ( "srini_string" + DEFAULT_USB_DEVICE_URI + "srini_string" + arg0 + "srini_string" ) ; } }
return an integer vendor id from a uri specifying a usb device . concode_field_sep URI DEFAULT_USB_DEVICE_URI concode_field_sep int productFromUri