This code repository showcases examples that illustrate the utilization of the Java SDK for Zoho Office Integrator in order to engage with Office Suite Editors.
JAVA SDK requires Java (version 11 and above) to be set up in your development environment.
Java SDK is included in this project through Maven distribution. You can include the SDK to your project using:
-
Maven
-
Configure Office Integrator SDK using following snippet in your project pom.xml file.
<repositories> <repository> <id>office-integrator-sdk</id> <url>https://maven.zohodl.com</url> </repository> </repositories> <dependencies> <dependency> <groupId>com.zoho.officeintegrator</groupId> <artifactId>office-integrator-sdk</artifactId> <version>1.0.2</version> </dependency> </dependencies>
-
-
Gradle
-
Configure Office Integrator SDK using following snippet in your project gradle configuration file.
repositories{ maven { url "https://maven.zohodl.com" } } dependencies{ implementation 'com.zoho.officeintegrator:office-integrator-sdk:1.0.2' }
-
-
Download and Bundle SDK Jar in your project
-
office-integrator-sdk-1.0.2.jar - Please download this jar and include along with the following dependency jars in your project to run Office Integrator java sdk on your application.
-
- Clone this project using following command.
git clone https://github.com/zoho/office-integrator-java-sdk-examples.git
- Go to project folder
cd office-integrator-java-sdk-examples
- Run following following command to download dependencies and complete the sample code
mvn compile
- Run your sample code
mvn exec:java -Dexec.mainClass=<Main class name with package name>
e.g to run create document sample code
mvn exec:java -Dexec.mainClass=com.zoho.officeintegrator.v1.examples.writer.CreateDocument
-
Clone this project using following command.
git clone https://github.com/zoho/office-integrator-java-sdk-examples.git
-
Open above cloned project in your IDE, download dependencies mentioned in maven pom.xml and run the sample java code