javadoc generate docs for files in folder and subfolders code example
Example: javadoc generate docs for files in folder and subfolders
find . -type f -name "*.java" | xargs javadoc -d outputdir
find . -type f -name "*.java" | xargs javadoc -d outputdir