Skip to content

Commit cb19ee4

Browse files
committed
Update sources
1 parent 2290b78 commit cb19ee4

153 files changed

Lines changed: 34342 additions & 15 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.

.gitignore

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
1-
# Compiled class file
21
*.class
32

4-
# Log file
5-
*.log
6-
7-
# BlueJ files
8-
*.ctxt
9-
103
# Mobile Tools for Java (J2ME)
114
.mtj.tmp/
125

136
# Package Files #
147
*.jar
158
*.war
16-
*.nar
179
*.ear
18-
*.zip
19-
*.tar.gz
20-
*.rar
2110

2211
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2312
hs_err_pid*
13+
14+
# build files
15+
**/target
16+
target
17+
build

LICENSE

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) 2018
3+
Copyright (c) 2003-2018 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
@@ -19,3 +19,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22+

README.md

Lines changed: 91 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,91 @@
1-
# groupdocs-viewer-cloud-java
2-
Java library for communicating with the GroupDocs.Viewer Cloud API
1+
# GroupDocs.Viewer Cloud SDK for Java
2+
This repository contains GroupDocs.Viewer Cloud SDK for Java source code. This SDK allows you to work with GroupDocs.Viewer Cloud REST APIs in your Java applications.
3+
4+
## Requirements
5+
6+
Building the API client library requires [Maven](https://maven.apache.org/) to be installed.
7+
8+
## Installation
9+
10+
To install the API client library to your local Maven repository, simply execute:
11+
12+
```shell
13+
mvn install
14+
```
15+
16+
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
17+
18+
```shell
19+
mvn deploy
20+
```
21+
22+
Refer to the [official documentation](https://maven.apache.org/plugins/maven-deploy-plugin/usage.html) for more information.
23+
24+
### Maven users
25+
26+
Add this dependency to your project's POM:
27+
28+
```xml
29+
<dependency>
30+
<groupId>com.groupdocs</groupId>
31+
<artifactId>groupdocs-viewer-cloud</artifactId>
32+
<version>18.5</version>
33+
<scope>compile</scope>
34+
</dependency>
35+
```
36+
37+
### Others
38+
39+
At first generate the JAR by executing:
40+
41+
mvn package
42+
43+
Then manually install the following JARs:
44+
45+
* target/groupdocs-viewer-cloud-18.5.jar
46+
* target/lib/*.jar
47+
48+
## Getting Started
49+
50+
Please follow the [installation](#installation) instruction and execute the following Java code:
51+
52+
```java
53+
54+
import com.groupdocs.cloud.viewer.client.*;
55+
import com.groupdocs.cloud.viewer.model.*;
56+
import com.groupdocs.cloud.viewer.api.ViewerApi;
57+
58+
import java.io.File;
59+
import java.util.*;
60+
61+
public class ViewerApiExample {
62+
63+
public static void main(String[] args) {
64+
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
65+
String appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
66+
String appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
67+
68+
ViewerApi apiInstance = new ViewerApi(appSid, appKey);
69+
try {
70+
apiInstance.deleteFontsCache();
71+
} catch (ApiException e) {
72+
System.err.println("Exception when calling ViewerApi#deleteFontsCache");
73+
e.printStackTrace();
74+
}
75+
}
76+
}
77+
78+
```
79+
80+
## Licensing
81+
All GroupDocs.Viewer Cloud SDKs are licensed under [MIT License](LICENSE).
82+
83+
## Resources
84+
+ [**Website**](https://www.groupdocs.cloud)
85+
+ [**Product Home**](https://products.groupdocs.cloud/viewer/cloud)
86+
+ [**Documentation**](https://docs.groupdocs.cloud/display/viewercloud/Home)
87+
+ [**Free Support Forum**](https://forum.groupdocs.cloud/c/viewer)
88+
+ [**Blog**](https://blog.groupdocs.cloud/category/groupdocs-viewer-cloud-product-family)
89+
90+
## Contact Us
91+
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/viewer).

0 commit comments

Comments
 (0)