New Release of Aspose.Tasks Cloud SDK for Java – A Complete Solution For Integrating Microsoft Project Document in Java Using Powerful Aspose.Tasks Cloud APIs
Aspose.Tasks Cloud is a REST API for manipulating Microsoft Project documents in the cloud. It 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.Tasks Cloud allows developers to manipulate project data including Tasks, Resources, Task links, and Assignments. Aspose.Tasks Cloud is a complete solution that allows you to work with all aspects of a Project document including conversion and manipulation of project’s tasks, task links, resources, resource assignments and extended attribute data. Learn More
What’s new in the latest release
This is a major revamp release for Aspose.Tasks Cloud SDK for Java. It covers all the Aspose.Tasks Cloud APIs. This SDK provides a complete solution for integrating Microsoft Project Document in Java using powerful Aspose.Tasks Cloud APIs, so you can manipulate project data including tasks, resources, task links, and assignments in the cloud seamlessly. Source Code Repository Complete source code of this release of Aspose.Tasks Cloud SDK for Java is freely available on your favorite GitHub repository.
Aspose.Tasks Cloud SDK for Java – v1.0.0
Setup Aspose.Tasks 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
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
try{
//Instantiate Aspose Storage Cloud API SDK
StorageApi storageApi = new StorageApi(apiKey, appSID,true);
//Instantiate Aspose Tasks Cloud API SDK
TasksApi tasksApi = new TasksApi(apiKey, appSID,true);
//set input file name
String name = "sample-project";
String fileName = name + ".mpp";
String format = "pdf";
String storage = "";
String folder = "";
//upload files to aspose cloud storage
storageApi.PutCreate(fileName, "", storage, new File(this.getClass().getResource("/" + fileName).toURI()));
//invoke Aspose.Tasks Cloud SDK API to convert project document to other formats
ResponseMessage apiResponse = tasksApi.GetTaskDocumentWithFormat(fileName, format, storage, folder);
if(apiResponse!=null && apiResponse.getStatus().equals("OK")){
//download converted doc from api response
InputStream responseStream = apiResponse.getInputStream();
final Path destination = Paths.get("c:\temp\" + name + "." + format);
Files.copy(responseStream, destination, StandardCopyOption.REPLACE_EXISTING);
}
}catch(Exception e){
e.printStackTrace();
}
Aspose.Tasks Cloud API DocumentationAspose.Tasks Cloud Documentation is available to guide developers to get familiar with the specific resources and operations within the Aspose.Tasks Cloud REST API. Aspose.Tasks Cloud SDK for Java ExamplesAspose.Tasks 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.Tasks Cloud REST API. Please see the SDK examples of following categories.
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.