This repository contains GroupDocs.Annotation Cloud SDK for Java source code. This SDK allows you to work with GroupDocs.Annotation Cloud REST APIs in your Java applications.
Building the API client library requires Maven to be installed.
To install the API client library to your local Maven repository, simply execute:
mvn installTo deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn deployRefer to the official documentation for more information.
Add following repository and dependency to your project's POM
<repository>
<id>groupdocs-artifact-repository</id>
<name>GroupDocs Artifact Repository</name>
<url>http://artifact.groupdocs.cloud/repo</url>
</repository><dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-annotation-cloud</artifactId>
<version>20.10</version>
<scope>compile</scope>
</dependency>At first generate the JAR by executing:
mvn packageThen manually install the following JARs:
- target/groupdocs-annotation-cloud-20.10.jar
- target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import com.groupdocs.cloud.annotation.client.*;
import com.groupdocs.cloud.annotation.model.*;
import com.groupdocs.cloud.annotation.api.AnnotateApi;
import java.io.File;
import java.util.*;
public class AnnotateApiExample {
public static void main(String[] args) {
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
String appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
String appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
AnnotateApi apiInstance = new AnnotateApi(appSid, appKey);
String filePath = "filePath_example"; // String | Document path in storage
try {
apiInstance.deleteAnnotations(filePath);
} catch (ApiException e) {
System.err.println("Exception when calling AnnotateApi#deleteAnnotations");
e.printStackTrace();
}
}
}All GroupDocs.Annotation Cloud SDKs are licensed under MIT License.
+Website +Product Home +Documentation +Free Support Forum +Blog
Your feedback is very important to us. Please feel free to contact us using our Support Forums.