<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-metadata-cloud</artifactId>
    <version>20.4</version>
</dependency>
copied!  
compile(group: 'com.groupdocs', name: 'groupdocs-metadata-cloud', version: '20.4')
copied!  
<dependency org="com.groupdocs" name="groupdocs-metadata-cloud" rev="20.4">
    <artifact name="groupdocs-metadata-cloud" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.groupdocs" % "groupdocs-metadata-cloud" % "20.4"
copied!  

Document Metadata Java Cloud REST API

banner

Product Page | Docs | Live Demos | Swagger UI | Code Samples | Blog | Free Support | Free Trial

GroupDocs.Metadata Cloud SDK for Java helps you build cloud Document Metadata Java Apps that work without installing any 3rd party software. It is a wrapper around GroupDocs.Metadata Cloud REST APIs.

Cloud Document Metadata SDK Features

Supported Document Metadata File Formats

Microsoft Word®: DOC, DOT, DOCX, DOCM, DOTX
OpenOffice Writer®: ODT
Microsoft Excel®: XLS, XLSX, XLSM, XLTM
OpenOffice Calc®: ODS, OTC
Microsoft PowerPoint®: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS
Microsoft Visio®: VSD, VDX, VSDX, VSS, VSSX
Audio: MP3, WAV
Video: AVI, MOV, QT, FLV, ASF
Microsoft Outlook®: EML, MSG, VCF, VCR
Microsoft OeNote®: ONE
Microsoft Project®: MPP
Photoshop: PSD
Autodesk®: DWG
AutoCAD®: DXF
Images: BMP, DJVU, DJV, GIF, JPG, JPEG, JPE, JP2, PNG, TIFF, WEBP
Medical Imaging: DICOM
Fixed Layout: PDF
Metadata File: EMF, WMF
eBook: EPUB
Archive: ZIP
Torrent: TORRENT Font: OTF, TTF, TTC

Requirements

Building the API client library requires:

  1. Java 1.7+
  2. Maven

Prerequisites

To use GroupDocs.Metadata Cloud SDK for Java you need to register an account with GroupDocs Cloud and lookup/create Client ID and Client Secret at Cloud Dashboard. There is free quota available. For more details, see GroupDocs Cloud Pricing.

Install GroupDocs.Metadata-Cloud from Maven

Add GroupDocs Cloud repository to your application pom.xml

<repository>
    <id>repository.groupdocs.cloud</id>
    <name>repository.groupdocs.cloud</name>
    <url>https://releases.groupdocs.cloud/java/repo/</url>
</repository>

Install from source

To install the API client library to your local Maven repository, simply execute:

mvn clean install

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

mvn clean deploy

Refer to the OSSRH Guide for more information.

Maven users

Add this dependency to your project’s POM:

<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-metadata-cloud</artifactId>
    <version>22.2</version>
</dependency>

Others

At first generate the JAR by executing:

mvn clean package

Then manually install the following JARs:

  • target/groupdocs-metadata-cloud-22.2.jar
  • target/lib/*.jar

Get Started

Please follow the Quick Start instructions.

Extract metadata by partial Tag Name via Java Cloud SDK

// For complete examples and data files, please go to https://github.com/groupdocs-metadata-cloud/groupdocs-metadata-cloud-java-samples
String MyAppKey = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
String MyAppSid = ""; // Get AppKey and AppSID from https://dashboard.groupdocs.cloud
   
Configuration configuration = new Configuration(MyAppSid, MyAppKey);
MetadataApi apiInstance = new MetadataApi(configuration);
 
ExtractOptions options = new ExtractOptions();
SearchCriteria searchCriteria = new SearchCriteria();
TagOptions tagOptions = new TagOptions();
tagOptions.setPossibleName("creator");
searchCriteria.setTagOptions(tagOptions);
options.setSearchCriteria(searchCriteria);
FileInfo fileInfo = new FileInfo();
fileInfo.setFilePath("documents/input.xlsx");
options.setFileInfo(fileInfo);
ExtractRequest request = new ExtractRequest(options);
 
ExtractResult response = apiInstance.extract(request);

Authorization & Authentication

Authentication schemes defined for the API is as follows:

JWT

Product Page | Docs | Live Demos | Swagger UI | Code Samples | Blog | Free Support | Free Trial

VersionRelease Date
23.8August 22, 2023
22.12December 14, 2022
22.2February 25, 2022
20.4January 25, 2022
20.3March 11, 2020
20.2February 12, 2020