GroupDocs.Parser provides the functionality to extract data from Documents on the local disk.
The following example shows how to load the Document from the local disk:
// Set the filePath String filePath = Constants.SamplePdf; // Create an instance of Parser class with the filePath try (Parser parser = new Parser(filePath)) { // Extract a Text into the reader try (TextReader reader = parser.getText()) { // Print a Text from the Document // If Text Extraction isn't supported, a reader is null System....Acquisition Ask AI GroupDocs Documentation / GroupDocs.Parser Product...Loading / Load document from local disk Load document from local...