Skip to content

Commit

Permalink
Merge pull request #62 from datalogics-tsmith/add-java
Browse files Browse the repository at this point in the history
PDFCLOUD-2509 Complete collection of Multipart Payload Java samples
  • Loading branch information
datalogics-cgreen authored Jan 2, 2024
2 parents 0cf3cb4 + ecdc914 commit 34bc260
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import okhttp3.Response;
import org.json.JSONObject;

public class CompressedPdf {
public class CompressedPDF {

// Specify the path to your file here, or as the first argument when running the program.
private static final String DEFAULT_FILE_PATH = "/path/to/file.pdf";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import okhttp3.Response;
import org.json.JSONObject;

public class MergedPdf {
public class MergedPDF {

// Specify the paths to your file here, or as the arguments when running the program.
private static final String[] DEFAULT_FILE_PATHS =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import okhttp3.Response;
import org.json.JSONObject;

public class PdfWithAddedAttachment {
public class PDFWithAddedAttachment {

// Specify the path to your file here, or as the first argument when running the program.
private static final String DEFAULT_FILE_PATH = "/path/to/file.pdf";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import okhttp3.*;
import org.json.JSONObject;

public class PdfWithAddedImage {
public class PDFWithAddedImage {

// Specify the path to your file here, or as the first argument when running the program.
private static final String DEFAULT_FILE_PATH = "/path/to/file.pdf";
Expand Down
2 changes: 1 addition & 1 deletion Java/Endpoint Examples/Multipart Payload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To run a sample, place the jar-with-dependencies on the classpath, specify the
class name of the sample, and then follow that with the input files.

```shell
java -cp target/pdf-rest-api-samples-1.0-SNAPSHOT-jar-with-dependencies.jar CompressedPdf input.pdf
java -cp target/pdf-rest-api-samples-1.0-SNAPSHOT-jar-with-dependencies.jar CompressedPDF input.pdf
```

## Build/run from IntelliJ IDEA
Expand Down

0 comments on commit 34bc260

Please sign in to comment.