Java Javadoc include Private
Have you looked at the man-page?
https://docs.oracle.com/javase/1.5.0/docs/tooldocs/solaris/javadoc.html
It contains a section of simple examples.
Try this for instance
javadoc -private -d /home/html -sourcepath /home/src
From the command line, it says
javadoc [options] [packagenames] [sourcefiles] [@files]
So it would be something like:
javadoc -private -d output/directory -sourcepath src/java
But you may also take a look to the javadoc documentation and this section.