Hi,
Am 10.06.2013 11:22, schrieb Ramesh Shrestha:
Hi,
I am developing .NET Application using pdfbox to extract metadata,
content and attached file from PDF.
I was able to extract metadata and content, but stuck while extracting
attached/embedded files.
I have a pdf with embedded/attached doc file and want to retrieve that
file. I have gone through the java example -
http://www.docjar.com/html/api/org/apache/pdfbox/examples/pdmodel/EmbeddedFiles.java.html.
But while trying to use it in .Net, i got "non generic type 'java.util.Map'
cannot be used with type arguments" in the following code snippet
java.util.Map<String, COSObjectable> names = efTree.getNames();
So, i will be grateful if anybody help me to extract the file from pdf.
I'm not a .NET expert and don't know what may cause that issue. But maybe it is
a good idea to just omit the generics and try something like this:
java.util.Map names = efTree.getNames();
Thanks in advance.
HTH
Andreas Lehmkühler