New Release of Aspose.Slides Cloud SDK for Java – A Unique Microsoft PowerPoint Management Solution to Manipulate PowerPoint Presentation Documents in Java Using Powerful Aspose.Slides Cloud APIs

Aspose.Slides Cloud

Aspose.Slides CloudAspose.Slides 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. Aspose.Slides Cloud is a unique PowerPoint® management API that enables you to read, write, convert and manipulate PowerPoint documents on the cloud. Aspose.Slides Cloud is a complete solution for performing any manipulation you can wish to perform on PowerPoint documents in the cloud. Learn More

What’s new in the latest release

This is a major revamp release for Aspose.Slides Cloud SDK for Java. It covers all the Aspose.Slides Cloud APIs. This SDK provides a complete solution to manipulate PowerPoint documents in Java using powerful Aspose.Slides Cloud APIs, so you can perform any operation on PowerPoint documents in the cloud seamlessly. Source Code Repository Complete source code of this release of Aspose.Slides Cloud SDK for Java is freely available on your favorite GitHub repository.
  • Aspose.Slides Cloud SDK for Java – v1.0.0
Setup Aspose.Slides 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
<repositories>
    <repository>
        <id>aspose-maven-repository</id>
        <name>Aspose Maven Repository</name>
        <url>http://repository.aspose.cloud/repo</url>
    </repository>
</repositories>
Maven Dependency
<dependency>
      <groupId>com.aspose</groupId>
      <artifactId>aspose-slides-cloud</artifactId>
      <version>1.0.0</version>
</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
pom.xml
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <configuration>
            <downloadSources>true</downloadSources>
            <downloadJavadocs>false</downloadJavadocs>
        </configuration>
      </plugin>
    </plugins>
   </build>
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 Slides Cloud API SDK
SlidesApi slidesApi = new SlidesApi(apiKey, appSID,true);

//set input file name
String name = "sample";
String fileName = name  + ".pptx" ;

//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.Slides Cloud APIs : e.g save a presentation to other formats 
String format = "pdf";
Integer jpegQuality = 50;
String password = "";
String outPath = "";

//invoke Aspose.Slides Cloud SDK API to save a presentation to other formats with additional settings
ResponseMessage apiResponse = slidesApi.GetSlidesDocumentWithFormat(fileName, format, jpegQuality, password, 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.Slides Cloud API Documentation Aspose.Slides Cloud Documentation is available to guide developers to get familiar with the specific resources and operations within the Aspose.Slides Cloud REST API. Aspose.Slides Cloud SDK for Java Examples Aspose.Slides 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.Slides 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.