Skip to content

Commit b3205fb

Browse files
committed
Updated sources
1 parent 147ff55 commit b3205fb

File tree

237 files changed

+27001
-15
lines changed

Some content is hidden

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

237 files changed

+27001
-15
lines changed

.gitignore

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
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
18+
19+
.settings/
20+
.classpath
21+
.project

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: 102 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,102 @@
1-
# groupdocs-conversion-cloud-java
2-
Java library for communicating with the GroupDocs.Conversion Cloud API
1+
# GroupDocs.Conversion Cloud SDK for Java
2+
This repository contains GroupDocs.Conversion Cloud SDK for Java source code. This SDK allows you to work with GroupDocs.Conversion 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 following repository and dependency to your project's POM
27+
28+
```xml
29+
<repository>
30+
<id>groupdocs-artifact-repository</id>
31+
<name>GroupDocs Artifact Repository</name>
32+
<url>https://repository.groupdocs.cloud/repo</url>
33+
</repository>
34+
```
35+
36+
```xml
37+
<dependency>
38+
<groupId>com.groupdocs</groupId>
39+
<artifactId>groupdocs-conversion-cloud</artifactId>
40+
<version>19.3</version>
41+
<scope>compile</scope>
42+
</dependency>
43+
```
44+
45+
### Others
46+
47+
At first generate the JAR by executing:
48+
49+
mvn package
50+
51+
Then manually install the following JARs:
52+
53+
* target/groupdocs-conversion-cloud-19.3.jar
54+
* target/lib/*.jar
55+
56+
## Getting Started
57+
58+
Please follow the [installation](#installation) instruction and execute the following Java code:
59+
60+
```java
61+
import com.groupdocs.cloud.conversion.client.*;
62+
import com.groupdocs.cloud.conversion.model.*;
63+
import com.groupdocs.cloud.conversion.api.ConversionApi;
64+
65+
import java.util.*;
66+
67+
public class ApiExample {
68+
69+
public static void main(String[] args) {
70+
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
71+
String appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
72+
String appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
73+
74+
Configuration configuration = new Configuration(appSid, appKey);
75+
76+
ConversionApi conversionApi = new ConversionApi(configuration);
77+
78+
try {
79+
FormatsResult response = conversionApi.getSupportedFileFormats();
80+
for (Format format : response.getFormats()) {
81+
System.out.println(format.getFileFormat());
82+
}
83+
} catch (ApiException e) {
84+
System.err.println("Exception when calling FileApi#copyFile");
85+
e.printStackTrace();
86+
}
87+
}
88+
}
89+
```
90+
91+
## Licensing
92+
All GroupDocs.Conversion Cloud SDKs are licensed under [MIT License](LICENSE).
93+
94+
## Resources
95+
+ [**Website**](https://www.groupdocs.cloud)
96+
+ [**Product Home**](https://products.groupdocs.cloud/conversion)
97+
+ [**Documentation**](https://docs.groupdocs.cloud/display/conversioncloud/Home)
98+
+ [**Free Support Forum**](https://forum.groupdocs.cloud/c/conversion)
99+
+ [**Blog**](https://blog.groupdocs.cloud/category/conversion)
100+
101+
## Contact Us
102+
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/conversion).

0 commit comments

Comments
 (0)