New Release of Aspose.PDF Cloud SDK for Java – A Complete Solution to Manipulate PDF Portable Document Format in Java Using Powerful Aspose.PDF Cloud APIs

Aspose.PDF Cloud

Aspose.PDF CloudAspose.PDF Cloud’s platform independent document manipulation API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud. With Aspose.PDF Cloud you can work with all aspects of PDF (portable document format) file: read, write, convert, split, merge and many more options to manipulate PDF documents. Aspose.PDF Cloud is a complete solution for performing any manipulation you can wish to perform on PDF files in the cloud. Learn More

What’s new in the latest release

This is a major revamp release for Aspose.PDF Cloud SDK for Java. It covers all the Aspose.PDF Cloud APIs. This SDK provides a complete solution to manipulate PDF (Portable Document Format) in Java using powerful Aspose.PDF Cloud APIs, so you can perform any operation on PDF files in the cloud seamlessly. Source Code Repository Complete source code of this release of Aspose.PDF Cloud SDK for Java is freely available on your favorite GitHub repository.
  • Aspose.PDF Cloud SDK for Java – v1.0.0
Setup Aspose.PDF Cloud SDK for Java is also available as released artifacts in the Aspose Maven Repository. You can bypass GitHub source code repository and depend directly on the released artifacts from Aspose Maven Repository by adding the following repository and dependency to development environments like Eclipse or Apache Maven: Aspose Maven Repository
        <name>Aspose Maven Repository</name>
Maven Dependency
Get Sources and Javadocs Maven
$ mvn dependency:sources
$ mvn dependency:resolve -Dclassifier=javadoc
Eclipse IDE
$ mvn eclipse:eclipse -DdownloadSources=true
$ mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=false
Data In order to manipulate any files, you first need to upload them to the Aspose cloud storage or 3th party cloud storage using Aspose.Storage Cloud SDK for Java. Quick SDK Tutorial
// Instantiate Aspose Storage API SDK
StorageApi storageApi = new StorageApi(apiKey, appSID);

//Instantiate Aspose PDF Cloud API SDK
PDFApi pdfApi = new PDFApi(apiKey, appSID,true);

//set input file name
String fileName = "Sample.pdf";

//set cloud storage info
String storage = null; // default: aspose cloud storage
String folder = null; //no nested folder in cloud storage

//upload input file to aspose cloud storage
storageApi.PutCreate(fileName, "", storage, new File(getClass().getResource("/" + fileName).toURI()));

//Now invoke Aspose.PDF Cloud APIs : e.g convert a pdf to different file formats
String format = "TIFF";
String outPath = null;

ResponseMessage apiResponse = pdfApi.GetDocumentWithFormat(fileName, format, storage, folder, outPath);

  //save converted format file from api response
 if(apiResponse!=null && apiResponse.getStatus().equals("OK")){
      InputStream responseStream = apiResponse.getInputStream();
      final Path destination = Paths.get("c:\temp\" + name + "." + format);
      Files.copy(responseStream, destination, StandardCopyOption.REPLACE_EXISTING);

Aspose.PDF Cloud API Documentation Aspose.PDF Cloud Documentation is available to guide developers to get familiar with the specific resources and operations within the Aspose.PDF Cloud REST API. Aspose.PDF Cloud SDK for Java Examples Aspose.PDF Cloud SDK for Java Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the Aspose.PDF Cloud REST API. Please see the SDK examples of following categories.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.