Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / November 2005

Tip: Looking for answers? Try searching our database.

Where to Put JavaDoc for Package

Thread view: 
E11 - 14 Nov 2005 13:20 GMT
Hi all,

By convention, where should we place the JavaDoc comments of the
package. I remember reading it somewhere before, but can't remember
exactly. If i recall correctly, we should create a new compilation unit
(*something*.java) which contains nothing (no class or interface)
except for the JavaDoc comments for the package.

But what's this *something.java*?

TIA and Regards,
Edwin
Daniel Dyer - 14 Nov 2005 13:22 GMT
> Hi all,
>
[quoted text clipped - 5 lines]
>
> But what's this *something.java*?

package-info.java

Like this:

/**
 * This is my package.
 */
package com.mydomain.mypackage;

Dan.

Signature

Daniel Dyer
http://www.dandyer.co.uk

E11 - 14 Nov 2005 13:24 GMT
> package-info.java
>
[quoted text clipped - 4 lines]
>   */
> package com.mydomain.mypackage;

Thanks! :-) And BTW, i thing HSQL is what i need too :)

Regards,
Edwin


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.