日期:2014-05-20  浏览次数:20792 次

JavaDoc中如何写表格型的注释
/**
* @brief parseSegment
* split and trim the one String[] into two String[]s.
* if the position beyond the string's length, "" will be padded.

* As showed below:
* String [] = {
* "Rx : Bx:",
* "Drop :",
* ""
* }
* position firstLine secondLine
* 3 "Rx :" "Bx:"
* "Drop" ":"
* "" ""
* =================================
* 5 "Rx :" "Bx:"
* "Drop :" ""  
* "" ""
* =================================
* 6 "Rx :" "Bx:"
* "Drop :" ""  
* "" ""
*  

想要上述这种,但是最后却是:


@brief
parseSegment split and trim the one String[] into two String[]s. if the position beyond the string's length, "" will be padded. As showed below: String [] = { "Rx : Bx:", "Drop :", "" } position firstLine secondLine 3 "Rx :" "Bx:" "Drop" ":" "" "" ================================= 5 "Rx :" "Bx:" "Drop :" "" "" "" ================================= 6 "Rx :" "Bx:" "Drop :" "" "" ""


我看官方文档都有上述哪种。怎么才能形成?




------解决方案--------------------
加<br>