- java μμ€ μ½λμμ html νμμ λ¬Έμλ₯Ό μμ±νκΈ° μν document generator
/**
*/
/**
* μ¬κΈ°μ μ£Όμμ μμ±
*/
Include tags in the following order:
Tags | Description |
---|---|
@author | classes and interfaces only, required |
@version | classes and interfaces only, required. See footnote 1 |
@param | methods and constructors only |
@return | methods only |
@exception | @throws is a synonym added in Javadoc 1.2 |
@see | |
@since | |
@serial or @serialField or @serialData | |
@deprecated | see How and When To Deprecate APIs |
- Reference : How to Write Doc Comments for the Javadoc Tool
/**
* javadoc μμ λ₯Ό μν ν΄λμ€
* @author yjo
* @version 1.0
*/
public class Practice {
/**
* λ μλ₯Ό λν¨
* @param a λμ μ«μ
* @param b λν μ«μ
* @return λ μμ ν©
*/
public int sum(int a, int b) {
return a + b;
}
}
- μλ λͺ λ Ήμ΄ μ΄μ©
javadoc -d doc Practice.java