Java SDK for Aspose.Storage Cloud

Get the leverage to use Cloud for files storage and management with the help of Aspose.Storage Cloud SDK for Java.

Start Free Trial
Java SDK for Cloud Storage

Aspose.Storage Cloud SDK for Java

 

Get Started with Cloud Storage SDK

No Additional software download/install required and it is easy to get started using Aspose.Storage Cloud SDK for Java. The SDK is developed on top of Cloud REST API to perform different storage-related operations in Java applications. It offers features including support for default Aspose storage and integration with 3rd party storage services. The API supports HTTP requests and receives the response in the form of JSON or XML data. Therefore any platform which supports the HTTP requests and responses is capable of using this SDK.

The Cloud storage SDK facilitates the users to speed up the development of applications, as it takes care of low-level details for making requests and handling responses. Hence it enables the users to put more focus towards writing code specific to their particular project. To cut short, it is easier for developers to integrate their Java application with our cloud storage SDK.

Previous Next

Advanced features of Cloud Storage SDK

 

 

Support for default Aspose storage

 

Support for 3rd party storage services

 

Folder related operations support

 

Support for files manipulation

 

Disc usage

 

SDK usage statistics and server Logs

File manipulation in Cloud Storage

When using Aspose.Storage Cloud SDK for Java, you can perform a number of file related operations. Given below is the list of operations currently supported by cloud SDK:

The following code snippet shows how to move a file from one location to another location using Cloud SDK

Move File to Another Location - Java


StorageApi api = new StorageApi("https://api.aspose.cloud/v1.1", "xxxxx", "xxxxx");
String src = "testfile.txt";
String dest = new File("Documents/", "/testfile.txt").getPath();
String versionId = null;
String storage = null;
String destStorage = null;
MoveFileResponse response = api.PostMoveFile(src, dest, versionId, storage, destStorage);

Folder related operations

Aspose.Storage Cloud SDK for Java also provides the capabilities to perform operations related to folders in Cloud storage. Given below are some of the features currently supported for folders in Cloud storage. Please note that these operations can be performed on Aspose Cloud storage or supported Third party storage.

The following code snippet shows how to Create a Folder on Third party storage using Cloud SDK

Create a New Folder on Third party Storage - Java


StorageApi api = new StorageApi("https://api.aspose.cloud/v1.1", "xxxxx", "xxxxx");
String path = "My Documents";
String storage = "MyDropboxStorage";
String destStorage = null;
ResponseMessage response = api.PutCreateFolder(path, storage, destStorage);

Get Disc Usage details

When using Cloud storage SDK, you may have a requirement to get information regarding the amount of disk space used. In order to fulfill this requirement, the SDK provides the capabilities to get information regarding the disc storage used, with few lines of code.

Get SDK usage statistics and Server Logs

This SDK allows you to get your usage statistics and server logs for any period of time. The period may include the current month or previous month. The returned information is in XLSX format, so that you can save response to XLSX format.

Different Cloud Storage Platforms support

Aspose.Storage Cloud SDK for Java is very flexible and allows its users to use their own cloud storage or any other 3rd party storage services which they are comfortable using with. The SDK goes beyond limitations and acts as a kind of gateway between a developers and the Cloud Storage users. This will allow you to write your Application once, and we will take care of both the File Formats and also letting you support many different Cloud Storage platforms through a single consistent interface.

 

Support and Learning Resources