10-05-2008 04:22 PM
It seems the the Class URI (http://java.sun.com/javase/6/docs/api/java/net/URI
10-05-2008 04:39 PM
I think the first thing I found for encoding is this but I was a little annoyed it didn't quite work the way I thought,
I think I grepped javadocs for urlencode and that was about the best I came up with. Not sure about validating
but for encoding that seems ok for encoding the query part of a URL. If you find something else let me know.