Some API docs contain information at package level. For example java.io
contains 3 package-level sections here http://docs.oracle.com/javase/7/docs/api/java/io/package-summary.html
The sections are: "Package java.io Description", "Package Specification" and "Related Documentation".
Where should I put these sections content in my own project so that javadoc processes it in the same way?
create a file called
package-info.java
in each packageinside do the following
You have to put a file called
package-info.java
into the folder that contains your package.You put those comments in a package comment file (emphasis mine):