[oXygen-user] URI Handler Question: Escaping/Unescaping URIs

Eliot Kimber
Tue Nov 6 05:39:22 CST 2007


On 11/6/07 1:23 AM, "Dan Caprioara" <> wrote:

> The best thing to do is to escape your URLs before using it in your data
> structures. To make the escaping compatible with oXygen, you should use
> the ro.sync.util.URLUtil class (from the oxygen.jar). Example:
> 
> In your chooseURL() method:
> 
> URL url = URLUtil.correct(new URL(urlString));

Cool, just what I needed.

Thanks,

E. 

-- 
W. Eliot Kimber
Senior Solutions Architect
Really Strategies, Inc.
"Bringing Strategy, Content, and Technology Together"
Main: 610.631.6770
www.reallysi.com
www.rsuitecms.com

Sent using the Microsoft Entourage 2004 for Mac Test Drive.





More information about the oXygen-user mailing list