I’m looking for replacement for java.net.URL.
My only interest is in modeling and syntax validation. Nice features are abilities to extract only parts of the URL, removal of fragment sign etc.
I’m not interested in network capabilities of any kind, and the class shouldn’t do any network operation.
Another requirement is minimum dependencies.
The problem with current java.net.URL is that it can’t model protocols other than [http, https, ftp, file, and jar].
Thanks!
Take a look at
java.net.URIwhich can be used as a replacement of eviljava.net.URL.