链接到 Javadoc 中的文本文件(资源) [英] Link to text file (resource) in Javadoc
本文介绍了链接到 Javadoc 中的文本文件(资源)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我进行了搜索,但找不到正确的答案...如何在 Javadoc 中使用指向资源文本文件的链接.{@link easywords.txt}
不起作用.<a href="D:NetBeansHManeasy.txt">Easy words</a>
也不起作用.
解决方案
试试简单的词</a>;
代替.
链接应该是一个 URL.
浏览器可能认为 D
是处理请求的协议.
对于文学:http://en.wikipedia.org/wiki/File_URI_scheme>
I did my seach but couldn't find the right answer... How can I use link to a resource text file in Javadoc. {@link easywords.txt}
doesn't work. <a href="D:NetBeansHManeasy.txt">Easy words</a>
doesn't work neither.
解决方案
Try <a href="file:///D:/NetBeans/HMan/easy.txt">Easy words</a>
instead.
A Link should be a URL.
The browser may think D
would be protocol to handle requests.
For literature: http://en.wikipedia.org/wiki/File_URI_scheme
这篇关于链接到 Javadoc 中的文本文件(资源)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文