Aggregate javadoc on the site and Url Validator

View: New views
3 Messages — Rating Filter:   Alert me  

Aggregate javadoc on the site and Url Validator

by Olivier Lamy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 ).

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

Thanks,
--
Olivier

[1] http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@...
For additional commands, e-mail: httpclient-users-help@...


Re: Aggregate javadoc on the site and Url Validator

by olegk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:password@host");
    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: httpclient-users-unsubscribe@...
> For additional commands, e-mail: httpclient-users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@...
For additional commands, e-mail: httpclient-users-help@...


Re: Aggregate javadoc on the site and Url Validator

by Olivier Lamy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/8/23 Oleg Kalnichevski <olegk@...>:
> 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 ;-)

Yes sure I know :-)

>
>> 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:password@host");
>    System.out.println(uri.getUserInfo());
>    validURL = true;
> } catch (URISyntaxException ex) {
>    validURL = false;
> }
>
> --------
> stdout> username:password

My bad it's so simple :-)

Thanks,
--
Olivier

>
> Hope this helps
>
> Oleg
>
>
>
>> Thanks,
>> --
>> Olivier
>>
>> [1] http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@...
>> For additional commands, e-mail: httpclient-users-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@...
> For additional commands, e-mail: httpclient-users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@...
For additional commands, e-mail: httpclient-users-help@...

LightInTheBox - Buy quality products at wholesale price!