如何在 Adob​​eReader 而不是 Web 浏览器中打开 PDF 中的超链接?

How do I make hyperlinks in a PDF open in AdobeReader rather than web browser?

我已经实现了通过使用 PDFBox 在每个 PDF 中添加超链接来互连一堆 PDF 的功能。
这是代码:

PDAnnotationLink txtLink = new PDAnnotationLink();
PDActionURI action = new PDActionURI();
Uri fileUri = new Uri(filePath);
action.setURI(fileUri.ToString());
txtLink.setAction(action);

但问题是,当我单击 PDF 中的超链接时,它会在 Web 浏览器中打开,而不是在 Adob​​e Acrobat 的另一个实例中打开 reader。

那么,如何在为 PDF 选择的默认程序中而不是在浏览器中打开 PDF。

编辑:超链接路径类似于

file:///C:/Users/Administrator/Desktop/Oliver%20Unlinked%20set%20-%20Copy/A8.1%20-%20INTERIOR%20ELEVATIONS.pdf

PDF 路径必须采用他们称为 device-independent 的形式。请参见下面的示例。此外,通过在 link (file://) 中包含协议,您实际上是在告诉 Acrobat 在浏览器中打开它。

/c/Program Files/Adobe/Acrobat DC/Help/AcroHelp.pdf