Easy javadoc-question, how to make newline?

Hi,i googled, looked at the javadoc-doc but found no answer. How do i make a newline in an function description in javadoc? So i have much text want to make a linebreak, how can i do this?! Thank you!!!
[223 byte] By [harry.schuster@gmx.dea] at [2007-10-3 7:20:52]
# 1

You should use HTML tags in your comments. Javadoc only slightly processes the comments, namely, just inline tags like {@link}. Anything else is inserted into the result generated HTML as is.

So, when you need to make a new line, just use <br> or

HTML tags.

Leonid Rudy

http://www.docflex.com

leonid_rudya at 2007-7-15 2:18:28 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

Hi,

There is no way to have the javadocs to automatically insert a html br for you? Seems like that'd be a great option to have. If not, I will write my own parser to add brs I guess....adding them to thousands of methods in hundreds of files is something I don't want to do...

Thanks!

dayrinnia at 2007-7-15 2:18:28 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3

There is no way to have javadoc add the line breaks and paragraphs for you automatically. The browser will break the line when necessary, but if you want the lines broke at a specific location, then you need to specify where you want the new line, otherwise it will use the browser's default newline.

If you want a new line every where you created a new line, you could attempt to use the HTML preformatting tags:

<pre>

</pre>

These may not work as expected. You could just try it on one method and see what you get.

llemonsa at 2007-7-15 2:18:28 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...