You are right. So here is the whole thing: In the client code in GWT, I am referencing some URLs for different server. I don't want to use string literals to reference these links. I rather have a class that enclose each URL link. It is just good programming practice.
In addition, it would be useful to have a class that can do very light parsing/formatting of a URL so then URL can be formatted by providing different components such as hostname, port ect. It is quite flexible to modify only parts of the URL in the future. I hope I am clear now. Thanks. On Mar 6, 12:19 pm, Lothar Kimmeringer <j...@kimmeringer.de> wrote: > planetsoni schrieb: > > > All I really wanna do is string parsing/creating of URL. Nothing > > related to connection or streaming. > > Shouldn't a regular expression do the trick in that case? Things > like checking the validity of the hostname, etc. have to happen > on the server anyway. > > Regards, Lothar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---