title: PDFBox not recognizing a link
body: <p>I'm using Apache PDFBox to scan through a PDF in search of links to a certain file.</p>
  
  <p>I've got about a thousand PDF's to scan, and most of the links (in fact all but one as far as I can see now) are found.</p>
  
  <p>However, there is one particular link in a PDF that PDFBox simply ignores. If I open the PDF with Foxit and check the link's properties, it looks exactly like all the other links (that <strong>do</strong> get found).</p>
  
  <p>Here's the code I use to iterate through the links:</p>
  
  <pre><code>    for( Object p : pages ) {
          PDPage page = (PDPage)p;
  
          List&lt;?&gt; annotations = page.getAnnotations();
          for( Object a : annotations ) {
              PDAnnotation annotation = (PDAnnotation)a;
  
              if( annotation instanceof PDAnnotationLink ) {
                  PDAnnotationLink link = (PDAnnotationLink)annotation;
  
                  /* Do stuff with the link */
              }
          }
  
      }
  </code></pre>
  
  <p>In the affected PDF, <code>page.getAnnotations()</code> does return an empty list.</p>
  
  <p>Is there any other type of link besides the annotations that I should be aware of?</p>