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 void
addFontDirectory(java.lang.String directory)
Add custom font directorystatic java.lang.String
getProducerFullName()
static java.lang.String
getVersion()
static void
initialize(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 thelicense
argument is unknown.CorruptException
- if thelicense
argument is not a correct license keyLicenseException
- if thelicense
argument can be read but the license check failedHttpException
- A network error occurred.java.lang.IllegalArgumentException
- iflicense
isnull
-
addFontDirectory
public static void addFontDirectory(java.lang.String directory) throws NotFoundException
Add 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
- ifdirectory
isnull
-
getVersion
public static java.lang.String getVersion()
-
getProducerFullName
public static java.lang.String getProducerFullName()
-
-