<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-metadata-cloud</artifactId>
<version>22.2</version>
</dependency>
compile(group: 'com.groupdocs', name: 'groupdocs-metadata-cloud', version: '22.2')
<dependency org="com.groupdocs" name="groupdocs-metadata-cloud" rev="22.2">
<artifact name="groupdocs-metadata-cloud" ext="jar"/>
</dependency>
libraryDependencies += "com.groupdocs" % "groupdocs-metadata-cloud" % "22.2"
Document Metadata Java Cloud REST API
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
- Add or apply metadata properties to the cloud documents.
- Ability to add only specific metadata properties based on their tag or name.
- Search the required metadata name in the following ways:
- exact phrase
- partial name
- regular expression (regex) match
- Search the required metadata tag in the following ways:
- exact tag
- partial (possible) tag name
- Set the metadata values into existing metadata properties of the cloud documents.
- Extract metadata from the documents hosted on the cloud storage.
- Extract complete metadata properties tree.
- Extract only desired metadata properties based on specific name, value or tag.
- Ability to remove the desired metadata properties based on various criteria.
- Ability to fetch cloud document information as well as get a list of supported file formats.
- Option to traverse whole metadata tree to obtain tags and properties info.
- Built-in Storage API to work with cloud files & folders.
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:
- Java 1.7+
- 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
- Type: OAuth 2.0
- Flow: application
- Authorization URL: https://api.groupdocs.cloud/connect/token
- Token Lifetime: 1 day (Default)
Product Page | Docs | Live Demos | Swagger UI | Code Samples | Blog | Free Support | Free Trial
File | Classifier | Size |
---|---|---|
groupdocs-metadata-cloud-22.2-javadoc.jar | javadoc | 921.86 KB |
groupdocs-metadata-cloud-22.2-sources.jar | sources | 145.41 KB |
groupdocs-metadata-cloud-22.2.jar | 222.42 KB | |
groupdocs-metadata-cloud-22.2.pom | 2.86 KB |
GroupDocs Java REST API Maven SDK Java SDK Cloud REST REST API Cloud API MIT JWT oauth GroupDocs.Total Cloud GroupDocs.Metadata Cloud JAR document automation document automation cloud document DOC DOT DOCX DOCM DOTX ODT XLS XLSX XLSM XLTM ODS OTC PPTX PPTM PPSX PPSM POTX POTM PPT PPS VSD VDX VSDX VSS VSSX MP3 WAV AVI MOV QT FLV ASF EML MSG VCF VCR ONE MPP PSD DWG DXF BMP DJVU DJV GIF JPG JPEG JPE JP2 PNG TIFF WEBP DICOM PDF EMF WMF EPUB ZIP TORRENT OTF TTF TTC metadata property properties metadata property metadata properties regex regular expression metadata tree tree traversal traverse traverser tag name value pair cloud storage