Hi all,

I need a class to resolve a uri from a baseURI and a relativeURI

example

resolveRelativeURI( base:String, relative:String ):String


base: http://www.foo.com/bla
relative: image.jpg
returns: http://www.foo.com/bla/image.jpg


base: http://www.foo.com/bla/blo/
relative: ../../bar.html#fragment
returns: http://www.foo.com/bar.html#fragment

base: http://www.foo.com/bla/blo/
relative: /bar.html#fragment
returns: http://www.foo.com/bar.html#fragment

etc.

before coding it... is there something like this already in the api??
lotta code to browse!

Thanks,
Aldo

--
::::: Aldo Bucchi :::::
mobile (56) 8 429 8300


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to