Skip to content

Commit 8d80684

Browse files
committed
Updated sources
1 parent 3fd738a commit 8d80684

186 files changed

Lines changed: 7392 additions & 27797 deletions

File tree

Some content is hidden

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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2003-2018 Aspose Pty Ltd
3+
Copyright (c) 2003-2019 Aspose Pty Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Building the API client library requires [Maven](https://maven.apache.org/) to b
77

88
## Installation
99

10-
To install the API client library to your local Maven repository, simply execute:
10+
To install the API client library to your local Maven repository, execute:
1111

1212
```shell
1313
mvn install
@@ -37,7 +37,7 @@ Add following repository and dependency to your project's POM
3737
<dependency>
3838
<groupId>com.groupdocs</groupId>
3939
<artifactId>groupdocs-viewer-cloud</artifactId>
40-
<version>18.11</version>
40+
<version>19.3</version>
4141
<scope>compile</scope>
4242
</dependency>
4343
```
@@ -50,39 +50,42 @@ At first generate the JAR by executing:
5050

5151
Then manually install the following JARs:
5252

53-
* target/groupdocs-viewer-cloud-18.11.jar
53+
* target/groupdocs-viewer-cloud-19.3.jar
5454
* target/lib/*.jar
5555

5656
## Getting Started
5757

5858
Please follow the [installation](#installation) instruction and execute the following Java code:
5959

6060
```java
61-
6261
import com.groupdocs.cloud.viewer.client.*;
6362
import com.groupdocs.cloud.viewer.model.*;
6463
import com.groupdocs.cloud.viewer.api.ViewerApi;
6564

66-
import java.io.File;
6765
import java.util.*;
6866

69-
public class ViewerApiExample {
67+
public class ApiExample {
7068

7169
public static void main(String[] args) {
7270
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
7371
String appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
7472
String appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
7573

76-
ViewerApi apiInstance = new ViewerApi(appSid, appKey);
74+
Configuration configuration = new Configuration(appSid, appKey);
75+
76+
ViewerApi viewerApi = new ViewerApi(configuration);
77+
7778
try {
78-
apiInstance.deleteFontsCache();
79+
FormatsResult response = viewerApi.getSupportedFileFormats();
80+
for (Format format : response.getFormats()) {
81+
System.out.println(format.getFileFormat());
82+
}
7983
} catch (ApiException e) {
80-
System.err.println("Exception when calling ViewerApi#deleteFontsCache");
84+
System.err.println("Failed to get supported file formats");
8185
e.printStackTrace();
8286
}
8387
}
8488
}
85-
8689
```
8790

8891
## Licensing

pom.xml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>groupdocs-viewer-cloud</artifactId>
66
<packaging>jar</packaging>
77
<name>groupdocs-viewer-cloud</name>
8-
<version>18.11</version>
8+
<version>19.3</version>
99
<url>https://github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-java</url>
1010
<description>Java library for communicating with the GroupDocs.Viewer Cloud API</description>
1111
<scm>
@@ -35,7 +35,7 @@
3535
<repository>
3636
<id>maven.aspose.cloud</id>
3737
<name>maven.aspose.cloud</name>
38-
<url>http://artifact.aspose.cloud/repo/</url>
38+
<url>https://repository.aspose.cloud/repo/</url>
3939
</repository>
4040
</repositories>
4141

@@ -72,7 +72,7 @@
7272
<value>conf/log4j.properties</value>
7373
</property>
7474
</systemProperties>
75-
<argLine>-Xms512m -Xmx1500m</argLine>
75+
<argLine>-Xms512m -Xmx512m</argLine>
7676
<parallel>methods</parallel>
7777
<forkMode>pertest</forkMode>
7878
</configuration>
@@ -323,12 +323,6 @@
323323
<version>${junit-version}</version>
324324
<scope>test</scope>
325325
</dependency>
326-
<dependency>
327-
<groupId>com.aspose</groupId>
328-
<artifactId>aspose-cloud-storage</artifactId>
329-
<version>${aspose-cloud-storage-version}</version>
330-
<scope>test</scope>
331-
</dependency>
332326
</dependencies>
333327
<properties>
334328
<java.version>1.7</java.version>
@@ -340,8 +334,7 @@
340334
<gson-version>2.8.1</gson-version>
341335
<threetenbp-version>1.3.5</threetenbp-version>
342336
<maven-plugin-version>1.0.0</maven-plugin-version>
343-
<junit-version>4.12</junit-version>
344-
<aspose-cloud-storage-version>1.0.0</aspose-cloud-storage-version>
337+
<junit-version>4.12</junit-version>
345338
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
346339
</properties>
347340
</project>
15.1 KB
Binary file not shown.
-98 KB
Binary file not shown.
-19.1 KB
Binary file not shown.
15.6 KB
Binary file not shown.
-97.5 KB
Binary file not shown.

resources/email/outlook/sample.pst

-265 KB
Binary file not shown.

0 commit comments

Comments
 (0)