Package com.pdftools.toolbox
Class Sdk
- java.lang.Object
-
- com.pdftools.toolbox.internal.NativeBase
-
- com.pdftools.toolbox.internal.NativeObject
-
- com.pdftools.toolbox.Sdk
-
public class Sdk extends NativeObject
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddFontDirectory(java.lang.String directory)Add custom font directorystatic java.lang.StringgetProducerFullName()static java.lang.StringgetVersion()static voidinitialize(java.lang.String license, java.lang.String producerSuffix)-
Methods inherited from class com.pdftools.toolbox.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
initialize
public static void initialize(java.lang.String license, java.lang.String producerSuffix) throws LicenseException, UnknownFormatException, CorruptException, HttpException- Parameters:
license-producerSuffix-- Throws:
UnknownFormatException- if the format (version) of thelicenseargument is unknown.CorruptException- if thelicenseargument is not a correct license keyLicenseException- if thelicenseargument can be read but the license check failedHttpException- A network error occurred.java.lang.IllegalArgumentException- iflicenseisnull
-
addFontDirectory
public static void addFontDirectory(java.lang.String directory) throws NotFoundExceptionAdd custom font directory
- Parameters:
directory- The path of the directory which contains additional font files to be considered during processing.- Throws:
NotFoundException- The given directory path does not exist.java.lang.IllegalArgumentException- ifdirectoryisnull
-
getVersion
public static java.lang.String getVersion()
-
getProducerFullName
public static java.lang.String getProducerFullName()
-
-