Skip to content

Commit e3722b5

Browse files
committed
Release Aspose.Cells Cloud SDK 25.6.0
1 parent 615c03a commit e3722b5

File tree

358 files changed

+1420
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

358 files changed

+1420
-113
lines changed

Aspose.Cells.Cloud.pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
<dependency>
1010
<groupId>com.aspose</groupId>
1111
<artifactId>aspose-cells-cloud</artifactId>
12-
<version>25.3.0</version>
12+
<version>25.6.0</version>
1313
</dependency>
1414
</dependencies>
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
package com.aspose.cloud.cells.api;
2+
3+
import com.aspose.cloud.cells.client.*;
4+
import com.aspose.cloud.cells.model.*;
5+
import com.aspose.cloud.cells.request.*;
6+
7+
import org.junit.Test;
8+
import java.util.ArrayList;
9+
import java.util.List;
10+
import java.io.File;
11+
import java.util.HashMap;
12+
13+
public class ExamplePutConvertWorkbook {
14+
private CellsApi api;
15+
public ExamplePutConvertWorkbook(){
16+
try {
17+
api = new CellsApi(
18+
System.getenv("CellsCloudClientId"),
19+
System.getenv("CellsCloudClientSecret"),
20+
"v3.0",
21+
System.getenv("CellsCloudApiBaseUrl")
22+
);
23+
} catch (ApiException e) {
24+
e.printStackTrace();
25+
}
26+
}
27+
28+
public void Run(){
29+
try{
30+
String localName = "Book1.xlsx";
31+
32+
String format = "csv";
33+
34+
35+
PutConvertWorkbookRequest request = new PutConvertWorkbookRequest();
36+
request.setFormat(format);
37+
38+
39+
HashMap<String,File> fileMap = new HashMap<String,File>();
40+
fileMap.put(localName ,CellsApiUtil.GetFileHolder(localName) );
41+
request.setFile(fileMap);
42+
this.api.putConvertWorkbook(request);
43+
44+
} catch (ApiException e) {
45+
// TODO Auto-generated catch block
46+
e.printStackTrace();
47+
}
48+
}
49+
}

0 commit comments

Comments
 (0)