This repository contains GroupDocs.Metadata Cloud SDK for Java source code. This SDK allows you to work with GroupDocs.Metadata Cloud REST APIs in your Java applications
- Java SE Development Kit 8
Add following repository and dependency to your project's POM
<repository>
<id>groupdocs-artifact-repository</id>
<name>GroupDocs Artifact Repository</name>
<url>https://repository.groupdocs.cloud/repo</url>
</repository><dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-metadata-cloud</artifactId>
<version>26.1</version>
<scope>compile</scope>
</dependency>Add following repository and dependency to your build.gradle:
repositories {
maven {
url "https://repository.groupdocs.cloud/repo/"
}
}
...
dependencies {
...
implementation 'com.groupdocs:groupdocs-metadata-cloud:26.1'
}- Please follow the installation instruction
- Get your AppSID and AppKey at Dashboard and use them in your code
- Build and execute
- Explore more samples at GitHub
Below is an example demonstrating how to extract images from a PDF Portfolio using GroupDocs.Metadata Cloud SDK for Java:
// Get AppKey and AppSID from https://dashboard.groupdocs.cloud
String MyAppKey = "";
String MyAppSid = "";
Configuration configuration = new Configuration(MyAppSid, MyAppKey);
ParseApi apiInstance = new ParseApi(configuration);
FileInfo fileInfo = new FileInfo();
fileInfo.setFilePath("pdf/PDF with attachments.pdf");
fileInfo.setPassword("password");
ContainerItemInfo containerItemInfo = new ContainerItemInfo();
containerItemInfo.setRelativePath("template-document.pdf");
ImagesOptions options = new ImagesOptions();
options.setFileInfo(fileInfo);
options.setContainerItemInfo(containerItemInfo);
ImagesRequest request = new ImagesRequest(options);
ImagesResult response = apiInstance.images(request);
// For complete examples and data files, visit https://github.com/groupdocs-metadata-cloud/groupdocs-metadata-cloud-java-samplesBuilding the API client library requires Maven to be installed. Refer to the official documentation for more information.
At first generate the JAR by executing following command in "/src" working directory:
mvn package -D maven.test.skip=trueThen manually install the following JARs:
- target/groupdocs-metadata-cloud-26.1.jar
- target/lib/*.jar
All GroupDocs.Metadata Cloud SDKs are licensed under MIT License.
Your feedback is very important to us. Please feel free to contact us using our Support Forums.