Re: [reSIProcate-users] Creating a Uri obj from a Data
If it's throwing an exception it is because it is not a URI. In your
example because it has the angle brackets, it should be parsed into a
NameAddr which itself has a Uri within it.
On Sun, Jan 4, 2009 at 5:09 PM, Andrew Wood <ajwood@xxxxxxx> wrote:
> If I've got a Data obj containing a string such as
> <sip:200@xxxxxxxxxxxxx:5060;transport=UDP>
>
> How can I create a Uri obj from that, I thought I could pass it to the
> constructor but its throwing an exception
>
> Thanks
> Andrew
>
>
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>