<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf-cloud</artifactId>
<version>24.6.0</version>
</dependency>
compile(group: 'com.aspose', name: 'aspose-pdf-cloud', version: '24.6.0')
<dependency org="com.aspose" name="aspose-pdf-cloud" rev="24.6.0">
<artifact name="aspose-pdf-cloud" ext="jar"/>
</dependency>
libraryDependencies += "com.aspose" % "aspose-pdf-cloud" % "24.6.0"
Java REST API to Process PDF in Cloud
Product Page | Documentation | Live Demo | Swagger UI | Code Samples | Blog | Free Support | Free Trial
PDF Cloud Processing Features
- Create empty PDF or create PDF from HTML, XML, & images.
- Convert PDF to various supported formats: – Convert PDF to DOC and DOCX – Convert PDF to HTML – Convert PDF Document to PDF/A – Convert PDF to TIFF – Convert PDF to SVG – Convert PDF to ePUB – Convert PDF to PPTX – Convert PDF to TeX – Convert PDF to MobiXML – Convert PDF to XFA – Convert PDF to XML – Convert PDF to XPS – Convert PDF to XLS
- Convert other file formats to PDF – Convert EPUB to PDF – Convert Web to PDF – Convert TeX to PDF – Convert MHT to PDF – Convert HTML to PDF – Convert PS to PDF – Convert XslFo to PDF – Convert XPS to PDF – Convert SVG to PDF – Convert DOC and DOCX to PDF – Convert PCL to PDF – Convert XML to PDF – Convert Markdown to PDF
- Ability to convert PDF from remote server into other supported formats.
- Merge multiple PDF files into a single PDF document.
- Split a PDF file into multiple documents.
- Apply
PFX
signature to PDF documents. - Import data from various format files (XML, FDF, XFDF) into PDF documents.
- Work with PDF Form fields (TextBoxes, CheckBoxes, RadioBoxes, ComboxBox).
- Work with PDF tables, annotations, stamps, bookmarks, links, & attachments.
- Create searchable documents from scanned PDF Files.
- Supports encryption & decryption of cloud PDF files.
PDF Cloud Storage Features
- Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default).
- Create, copy, move and delete folders.
- Copy and move files and folders accross separate storages in scope of a single operation.
- Check if certain file, folder or storage exists.
Read & Write Cloud PDF Formats
Fixed Layout: PDF, PDF_A_3A (PDF/A-3), XPS
Forms: FDF, XFDF
eBook: EPUB
Web: HTML, XML
Typesetting: TeX
Vector: SVG
Save Cloud PDF As
Microsoft Word®: DOC, DOCX
Microsoft Excel®: XLS, XLSX
Microsoft PowerPoint®: PPTX
eBook: MobiXML
Images: JPEG, PNG, BMP, GIF, TIFF
Metafile: EMF
Read Cloud PDF Formats
MHT
PCL (Printer Control Language)
PS (Postscript)
XSLFO
MD (Mardown)
TXT (Text)
Requirements
Building the API client library requires:
- Java 1.7+
- Maven
Prerequisites
To use Aspose.PDF Cloud SDK for Java you need to register an account with Aspose Cloud and lookup/create Client ID and Client Secret at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
Installation
Install from Maven
Add Aspose Cloud repository to your application pom.xml
<repository>
<id>aspose-cloud</id>
<name>Aspose Cloud Repository</name>
<url>https://releases.aspose.cloud/java/repo/</url>
</repository>
Install from source
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Maven users
Add this dependency to your project’s POM:
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf-cloud</artifactId>
<version>21.11.0</version>
<scope>compile</scope>
</dependency>
Others
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/aspose-pdf-cloud-21.11.0.jar
target/lib/*.jar
Example
import com.aspose.asposecloudpdf.*;
import com.aspose.asposecloudpdf.model.*;
import com.aspose.asposecloudpdf.api.PdfApi;
import java.io.File;
import java.util.*;
public class PdfApiExample {
public static void main(String[] args) {
// Get App key and App SID from https://cloud.aspose.com
PdfApi apiInstance = new PdfApi("app_key", "app_sid");
String name = "name_example"; // String | The document name.
String fieldName = "fieldName_example"; // String | The field name/
String storage = "storage_example"; // String | The document storage.
String folder = "folder_example"; // String | The document folder.
try {
SaaSposeResponse result = apiInstance.deleteField(name, fieldName, storage, folder);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PdfApi#deleteField");
e.printStackTrace();
}
}
}
Licensing
All Aspose.PDF Cloud SDKs, helper scripts and templates are licensed under MIT License.
Authorization & Authentication
Authentication schemes defined for the API is as follows:
JWT
- Type: OAuth
- Flow: application
- Authorization URL: https://api.aspose.cloud/connect/token
Recommendation
It’s recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.
Product Page | Documentation | Live Demo | Swagger UI | Code Samples | Blog | Free Support | Free Trial
Version | Release Date |
---|---|
24.8.0 | August 23, 2024 |
24.7.0 | July 23, 2024 |
24.6.0 | July 1, 2024 |
24.5.0 | May 21, 2024 |
24.4.0 | April 22, 2024 |
24.3.0 | March 27, 2024 |
24.2.0 | February 26, 2024 |
24.1.0 | January 26, 2024 |
23.12.0 | December 21, 2023 |
23.11.0 | November 24, 2023 |
23.10.0 | October 27, 2023 |
23.9.0 | September 21, 2023 |
23.8.0 | August 28, 2023 |
23.7.0 | July 21, 2023 |
23.6.0 | July 3, 2023 |
23.5.0 | May 30, 2023 |
21.11.0 | November 25, 2021 |
21.1.0 | February 9, 2021 |
20.12.0 | December 16, 2020 |
20.9.0 | September 17, 2020 |
20.8.0 | August 28, 2020 |
20.7.0 | July 29, 2020 |
20.6.0 | June 24, 2020 |
20.5.0 | May 28, 2020 |
1.0.0 | May 12, 2020 |
1.0.1 | May 12, 2020 |
18.11.0 | May 12, 2020 |
19.1.0 | May 12, 2020 |
19.10.0 | May 12, 2020 |
19.11.0 | May 12, 2020 |
19.12.0 | May 12, 2020 |
19.2.0 | May 12, 2020 |
19.3.0 | May 12, 2020 |
19.4.0 | May 12, 2020 |
19.5.0 | May 12, 2020 |
19.7.0 | May 12, 2020 |
19.8.0 | May 12, 2020 |
19.9.0 | May 12, 2020 |
20.1.0 | May 12, 2020 |
20.2.0 | May 12, 2020 |
20.4.0 | May 12, 2020 |
File | Classifier | Size |
---|---|---|
aspose-pdf-cloud-24.6.0-javadoc.jar | javadoc | 1 MB |
aspose-pdf-cloud-24.6.0-sources.jar | sources | 602 KB |
aspose-pdf-cloud-24.6.0.jar | 2 MB | |
aspose-pdf-cloud-24.6.0.pom | 401 bytes |
Aspose.PDF Aspose.PDF Cloud Aspose Java REST API Maven SDK Java SDK Cloud REST REST API Cloud API MIT JWT oauth Aspose.Total Cloud PDF EPUB HTML TeX SVG XML XPS FDF XFDF PDF/A MHT PCL PS XSLFO MD XLS XLSX PPTX DOC DOCX MobiXML JPEG EMF PNG BMP GIF TIFF Text header footer stamp table annotation attachment form field pdf form form encryption decryption circle polygon polyline sqaure free text highlight squiggle strikeout caret widget watermark TrapNet redaction printer-mark rich-media compression conversion convert converter