diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-11-21 01:21:54 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-11-22 23:09:51 +0100 |
commit | 52b6e193ba376f46dec2ae3b8c316f2e08fefc13 (patch) | |
tree | cad41705e88dfef3a421476788eabd3695dfef1a /platform/java/src/com/artifex | |
parent | c01e1a267bac0e053b78fba6ebbd0c199c9adabe (diff) | |
download | mupdf-52b6e193ba376f46dec2ae3b8c316f2e08fefc13.tar.xz |
jni/js: Add interfaces for creating UTF-16BE and PDF byte strings.
This mirrors the existing PDFObject.asByteString().
Diffstat (limited to 'platform/java/src/com/artifex')
-rw-r--r-- | platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java b/platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java index 62dd9f6d..68835aaa 100644 --- a/platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java +++ b/platform/java/src/com/artifex/mupdf/fitz/PDFDocument.java @@ -30,6 +30,7 @@ public class PDFDocument extends Document public native PDFObject newInteger(int i); public native PDFObject newReal(float f); public native PDFObject newString(String s); + public native PDFObject newByteString(byte[] bs); public native PDFObject newName(String name); public native PDFObject newIndirect(int num, int gen); public native PDFObject newArray(); |