FileNet P8 API Development
Home
Home
CE API
PE API
IBM Case Manager
Friday, December 31, 2021
Read the content of a PDF file using Java API
import org.apache.pdfbox.text.PDFTextStripper;
import org.apache.pdfbox.pdmodel.PDDocument;
PDdocument pdDocument = PDdocument.load(new File("your filepath) ));
PDFTextStripper stripper = new PDFTextStripper () ;
String fileContent = stripper.getText(pdDocument) ;
System.out.println(text) ;
Older Posts
Home
Subscribe to:
Comments (Atom)
FileNet API - Java code to get CE Connection using FileNet Content Engine API
FileNet Content Engine Connection A Connection is a fairly lightweight class. It tells the API how to connect to the Content Eng...
ICN Plug-in Filter for Retrieving Users from LDAP and displaying in Property as a Choice List Object (IBM Content Navigator Plugins and Filters)
IBM Filenet Request and Response Filters public class OpenContentClassFilter extends PluginResponseFilter { public String[] getFilteredSer...
Working with Documents : Create a Document in FileNet using Java CE API
Creating a Document This code creates a document in object store with Document class and file in a folder using ...