You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java library for communicating with the Aspose.Pdf for Cloud API
1
+
# Aspose.Pdf for Cloud
2
+
[Aspose.Pdf for Cloud](https://products.aspose.cloud/pdf/cloud) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of Pdf documents in the cloud.
3
+
4
+
Our Cloud SDKs are wrappers around REST API in various programming languages, allowing you to process documents in language of your choice quickly and easily, gaining all benefits of strong types and IDE highlights. This repository contains new generation SDKs for Aspose.Pdf for Cloud and examples.
5
+
6
+
These SDKs are now fully supported. If you have any questions, see any bugs or have enhancement request, feel free to reach out to us at [Free Support Forums](https://forum.aspose.cloud/c/pdf).
7
+
8
+
9
+
## Requirements
10
+
11
+
Building the API client library requires [Maven](https://maven.apache.org/) to be installed.
12
+
13
+
## Installation
14
+
15
+
To install the API client library to your local Maven repository, simply execute:
16
+
17
+
```shell
18
+
mvn install
19
+
```
20
+
21
+
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
22
+
23
+
```shell
24
+
mvn deploy
25
+
```
26
+
27
+
Refer to the [official documentation](https://maven.apache.org/plugins/maven-deploy-plugin/usage.html) for more information.
28
+
29
+
### Maven users
30
+
31
+
Add this dependency to your project's POM:
32
+
33
+
```xml
34
+
<dependency>
35
+
<groupId>com.aspose</groupId>
36
+
<artifactId>aspose-cloud-pdf</artifactId>
37
+
<version>18.5.0</version>
38
+
<scope>compile</scope>
39
+
</dependency>
40
+
```
41
+
42
+
### Gradle users
43
+
44
+
Add this dependency to your project's build file:
45
+
46
+
```groovy
47
+
compile "com.aspose:aspose-cloud-pdf:18.5.0"
48
+
```
49
+
50
+
### Others
51
+
52
+
At first generate the JAR by executing:
53
+
54
+
mvn package
55
+
56
+
Then manually install the following JARs:
57
+
58
+
* target/aspose-cloud-pdf-18.5.0.jar
59
+
* target/lib/*.jar
60
+
61
+
## Getting Started
62
+
63
+
Please follow the [installation](#installation) instruction and execute the following Java code:
64
+
65
+
```java
66
+
67
+
importcom.aspose.asposecloudpdf.*;
68
+
importcom.aspose.asposecloudpdf.model.*;
69
+
importcom.aspose.asposecloudpdf.api.PdfApi;
70
+
71
+
importjava.io.File;
72
+
importjava.util.*;
73
+
74
+
publicclassPdfApiExample {
75
+
76
+
publicstaticvoidmain(String[] args) {
77
+
// Get App key and App SID from https://cloud.aspose.com
String name ="name_example"; // String | The document name.
80
+
String fieldName ="fieldName_example"; // String | The field name/
81
+
String storage ="storage_example"; // String | The document storage.
82
+
String folder ="folder_example"; // String | The document folder.
83
+
try {
84
+
SaaSposeResponse result = apiInstance.deleteField(name, fieldName, storage, folder);
85
+
System.out.println(result);
86
+
} catch (ApiException e) {
87
+
System.err.println("Exception when calling PdfApi#deleteField");
88
+
e.printStackTrace();
89
+
}
90
+
}
91
+
}
92
+
93
+
```
94
+
95
+
## Unit Tests
96
+
Aspose PDF SDK includes a suite of unit tests within the "test" subdirectory. These Unit Tests also serves as examples of how to use the Aspose PDF SDK.
97
+
98
+
## Licensing
99
+
All Aspose.Pdf for Cloud SDKs are licensed under [MIT License](LICENSE).
desc ='Aspose.PDF for Cloud is a REST API for creating and editing PDF files. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.Pdf for Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.Pdf for Cloud helps you manipulate elements of a PDF file like text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by using features like merging, splitting, and inserting. Add images to a PDF file or convert PDF pages to images.'
0 commit comments