On Sat, 2008-08-23 at 00:06 +0200, Olivier Lamy wrote:
> Hi,
> Is there any plan to published an aggregated javadoc [1] with the next
> release ? (currently it's hard to naviguate in all modules or I
> haven't found it :-) in the site ).
>
That would be quite handy, but it is too late for this release. Anyways,
we happily accept patches ;-)
> Second question : is there class which can validate my url (as boolean
> validate(String url) ) ?
> And is there a class to extract username/password from url with the
> format : https://[<username>:<password>@]host
>
Standard j.n.URI should do the trick
boolean validURL;
try {
URI uri = new URI("https://username:[EMAIL PROTECTED]");
System.out.println(uri.getUserInfo());
validURL = true;
} catch (URISyntaxException ex) {
validURL = false;
}
--------
stdout> username:password
Hope this helps
Oleg
> Thanks,
> --
> Olivier
>
> [1]
> http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]