Javadoc and linking to a file on a UNC Path

Might sound crazy, but I was wanting to link some javadoc documentation to a file that exists on the network. This is accessed from a standard UNC path.

I was wanting to link using something like as follows:

/**
 * This class does something in accordance with some external spec.
 * <br/><br/>
 * This spec can be found 
 * <a target="_blank" href="file://S:\Projects\Some%20Folder\Documents\External%20documents\Some%20File.pdf">here</a>.<br/>
 * And <a href="file://S:\Projects\Some Folder\Documents\External documents\Some File.pdf">here</a>
 * @author Meeeeee 
 */
public class SomeClass {
    // blah...
}

The link appears in the Javadoc (in Netbeans) but clicking it does not do anything. I can link to external web pages no problem. I have tried 2 approaches about using standard URL encoded string and unencoded string URL.

Is this possible?

Thanks

Andez

Answers


In href use it like below: If file is in some server or some other system in LAN

 <a href="file:////<filelocation server or ip address>/folder/filename.xlsx">Click</a>

If the file is in local system

<a href="C:\folder\filename.xls" >click</a>

Need Your Help

sql join statement and deliberately repeat first line in every group

sql join

I have Header and Detail file (such as an invoice header and invoice detail)

relative and absolute positioning in IE and FF

html css firefox

I want to have a div that grows when you add more content in it, has at least the height of the viewport and has a header and a footer sticking to the top and bottom. I came up with the following w...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.