This question has almost certainly been asked before, but I ask it anyway because I couldn't find an answer.
Generally, is there a utility class of some sort that assists in common String manipulations associated with URL/URIs?
I'm thinking something like Java SE's URL Class, but maybe a little beefier. I'm looking for something that will let you do simple things, like:
- Get a List of query string parameters
- An "addParameter" method to add a query string parameter, and it will take care of adding "&", "?", and "=" where necessary
- Also, encoding parameter values would be ideal...
Let me know, thanks!