This article shows how to save the modified content to the underlying source in Java....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
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....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
Render email attachments with GroupDocs.Viewer for Java in the same way as you would render any other documents...Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
The getSupportedFileTypes method of the FileType class is used to obtain a list of supported file types.
An example of obtaining a list of supported file types is presented below.
Iterable supportedFileTypes = FileType.getSupportedFileTypes(); Iterator iterator = supportedFileTypes.iterator(); while (iterator.hasNext()) { FileType fileType = (FileType)iterator.next(); System.out.println(fileType.getExtension() + " - " + fileType.getDescription()); } More resources Advanced usage topics To learn more about library features and get familiar how to manage metadata and more, please refer to theadvanced usage section....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This example demonstrates how to load a file of some particular format.
advanced_usage.loading_files.LoadingFileOfSpecificFormat
// Explicitly specifying the format of a file to load you can spare some time on detecting the format LoadOptions loadOptions = new LoadOptions(FileFormat.Spreadsheet); // Constants.InputXls is an absolute or relative path to your document. Ex: @"C:\Docs\source.xls" try (Metadata metadata = new Metadata(Constants.InputXls, loadOptions)) { SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); // Use format-specific properties to extract or edit metadata System....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This article explains how to merge files of Pdf, Microsoft Word, Excel and PowerPoint and other formats using GroupDocs.Merger for Java API....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
In this article, you will learn how to convert diagram documents to other formats or another diagram format with GroupDocs.Conversion for Node.js via Java....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
In this article, you will learn how to convert CAD documents to other formats or another CAD format with GroupDocs.Conversion for Node.js via Java....Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...
This section explains GroupDocs.Conversion for Node.js via Java convert options specific to various document types...Signature Product Solution GroupDocs...Us Contact Customers Legal Security Events Acquisition Ask AI...