Including images in javadocs

后端 未结 7 1968
北海茫月
北海茫月 2020-12-14 16:26

I work with a lot of sample test cases that are visual. Is there any convenient way to include them in my Java source and link them in Javadocs, so my IDE can automatically

7条回答
  •  孤街浪徒
    2020-12-14 16:50

    A bit far fetched, but you can inline the images in the documentation by converting them into Base64. It would look like this:

    
    

    There are online tools available to do the conversion:

    • http://www.base64-image.de
    • http://daturi.me
    • http://www.freeformatter.com/base64-encoder.html

提交回复
热议问题