Skip to content

Commit 6bdb771

Browse files
update readme and version
1 parent cfa4c45 commit 6bdb771

File tree

2 files changed

+14
-21
lines changed

2 files changed

+14
-21
lines changed

README.md

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This repository contains Aspose.Words Cloud SDK for Java source code. This SDK a
1414
* Full read & write access to Document Object Model, including sections, paragraphs, text, images, tables, headers/footers and many others
1515

1616
## How to use the SDK?
17-
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [Maven](https://mvnrepository.com/artifact/com.aspose/aspose-cloud-words) (recommended). For more details, please visit our [documentation website](https://docs.aspose.cloud/display/wordscloud/Available+SDKs).
17+
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-words-cloud) (recommended). For more details, please visit our [documentation website](https://docs.aspose.cloud/display/wordscloud/Available+SDKs).
1818

1919
### Prerequisites
2020

@@ -33,15 +33,10 @@ Add this dependency to your project's POM:
3333
</repositories>
3434

3535
<dependencies>
36-
<dependency>
37-
<groupId>com.aspose</groupId>
38-
<artifactId>aspose-cloud-storage</artifactId>
39-
<version>1.0.1</version>
40-
</dependency>
4136
<dependency>
4237
<groupId>com.aspose</groupId>
4338
<artifactId>aspose-words-cloud</artifactId>
44-
<version>18.9.0</version>
39+
<version>20.3.0</version>
4540
</dependency>
4641
</dependencies>
4742
```
@@ -50,22 +45,21 @@ Add this dependency to your project's POM:
5045

5146
```java
5247

53-
import com.aspose.words.*;
54-
import com.aspose.words.auth.*;
55-
import com.aspose.words.model.*;
56-
import com.aspose.words.api.WordsApi;
48+
import com.aspose.words.cloud.ApiException;
49+
import com.aspose.words.cloud.api.WordsApi;
50+
import com.aspose.words.cloud.model.DocumentResponse;
51+
import com.aspose.words.cloud.model.requests.DeleteWatermarkRequest;
5752

58-
import java.io.File;
59-
import java.util.*;
53+
import java.io.IOException;
6054

6155
public class WordsApiExample {
6256

63-
public static void main(String[] args) {
64-
65-
WordsApi wordsApi = new WordsApi();
57+
public static void main(String[] args) throws ApiException, IOException {
58+
// write your code here
59+
WordsApi wordsApi = new WordsApi("appSid", "appKey", null);
6660
String remoteName = "TestDeleteDocumentWatermark.docx";
67-
String remoteFolder = "TestFolder"
68-
DeleteWatermarkRequest request = new DeleteWatermarkRequest(remoteName,
61+
String remoteFolder = "TestFolder";
62+
DeleteWatermarkRequest request = new DeleteWatermarkRequest(remoteName,
6963
remoteFolder, null, null, null, null, null, null);
7064

7165
DocumentResponse result = wordsApi.deleteWatermark(request);
@@ -74,8 +68,7 @@ public class WordsApiExample {
7468

7569
```
7670

77-
[Test](src/test/java/com/aspose/words) contain various examples of using the SDK.
78-
Please put your credentials into [ApiClient](src/main/java/com/aspose/words/ApiClient.java).
71+
[Test](src/test/java/com/aspose/words/cloud) contain various examples of using the SDK.
7972

8073
## Dependencies
8174
- Java 1.7+

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>aspose-words-cloud</artifactId>
55
<packaging>jar</packaging>
66
<name>AsposeWordsCloud</name>
7-
<version>19.10.0</version>
7+
<version>20.3.0</version>
88
<url>https://www.aspose.cloud/</url>
99
<description>Aspose Words Java SDK</description>
1010
<scm>

0 commit comments

Comments
 (0)