Hello there,

I recently noticed this TODO in the javadoc for the UriBuilder
constructor:

"Add a constructor that parses an existing URL"

I searched a little for an existing class to parse URIs in GWT but did
not have much luck, so I thought I'd give it a shot to implement one.

My approach was to mimic the API in Java's java.net.URI class, and
derive the implementation from Steven Levithan's JavaScript parseUri
1.2 code[1].

I've banged out a preliminary version of the class and would like some
feedback, but before I do so, I was wondering if it's even possible to
submit this to GWT, as I am reading the "Making GWT Better" page about
code contributions and the CLA agreements and am not quite sure how
that affects the fact that a portion of the code is derived from
Steven's class.  His code is released under the MIT license and I am
more than willing to include whatever notices/attribution in the code
as necessary.

Any ideas?

Cheers,

Alex

1. http://blog.stevenlevithan.com/archives/parseuri

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to