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....Assembly Product Solution GroupDocs...
You might need to save a document to any custom file at any location on the local disc or a even a Stream.
The following example demonstrates how to save a document to any location.
final Redactor redactor = new Redactor("Sample.docx"); try { // Here we can use document instance to perform redactions RedactorChangeLog result = redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions(java.awt.Color.RED))); if (result.getStatus() != RedactionStatus.Failed) { // Save the document to a custom location and convert its pages to images final FileOutputStream fileStream = new FileOutputStream("C:\\\\Temp\\\\sample_output_file....Assembly Product Solution GroupDocs...
This article explains how to load password-protected PDF, Word, Excel, PowerPoint documents when using GroupDocs.Comparison for .NET....Assembly Product Solution GroupDocs...
This article explains how to use the Microsoft Word Track Changes comparing as a built in feature in GroupDocs.Comparison for Java....Assembly Product Solution GroupDocs...
This article explains how to set document password after files comparison within your Java applications using GroupDocs.Comparison for Node.js via Java....Assembly Product Solution GroupDocs...
This article explains how to load custom fonts PDF, Word, Excel, PowerPoint documents when using GroupDocs.Comparison for Java....Assembly Product Solution GroupDocs...