public class NativeLibSettings
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
clearAsposeNativeTmpDirectory()
Clears the directory where Aspose temporary libraries are stored.
|
static boolean |
getInterruptThreadIfImageExceptionThrown()
Returns the current value of the property that controls thread interruption on image exceptions.
|
static java.lang.String |
getTmpDirectoryPath()
Return the path to the temporary directory of native libraries.
|
static boolean |
getUseJAIImageRendering()
Gets a value that determines whether JAI (Java Advanced Imaging) is employed during the rendering of document images.
|
static boolean |
isHarfBuzzNativeLibLoaded()
Returns
true if HarfBuzz libraries is loaded. |
static boolean |
isWinNativeLibLoaded()
Returns
true if WindowsNativeCall libraries is loaded. |
static void |
loadHarfBuzzNativeLib()
Sets to load and use harfbuzz-shaping-engine-dll.dll libraries.
|
static void |
loadWinNativeLib()
Sets to load and use WindowsNativeCall_x86|_x64.dll libraries.
|
static void |
setInterruptThreadIfImageExceptionThrown(boolean abortSavingIfImageExceptionThrown)
Sets the property that defines behavior when handling image exceptions.
|
static void |
setTmpDirectoryPath(java.lang.String path)
Specifies the path to the temporary directory of native libraries.
|
static void |
setUseJAIImageRendering(boolean useJAIImageRendering)
Sets a value that determines whether JAI (Java Advanced Imaging) is employed during the rendering of document images.
|
static void |
skipHarfBuzzNativeLib()
Skip loading and use harfbuzz-shaping-engine-dll.dll libraries.
|
static void |
skipWinNativeLib()
Skip loading and use WindowsNativeCall_x86|_x64.dll libraries.
|
public static void setTmpDirectoryPath(java.lang.String path)
throws java.lang.IllegalArgumentException
path - the path to the temporary directory of native libraries.java.lang.IllegalArgumentException - if path is invalid.public static java.lang.String getTmpDirectoryPath()
public static void clearAsposeNativeTmpDirectory()
public static void loadWinNativeLib()
public static void loadHarfBuzzNativeLib()
public static void skipWinNativeLib()
public static void skipHarfBuzzNativeLib()
public static boolean isWinNativeLibLoaded()
true if WindowsNativeCall libraries is loaded. By default, native libraries are loaded.public static boolean isHarfBuzzNativeLibLoaded()
true if HarfBuzz libraries is loaded. By default, native libraries are loaded.public static void setUseJAIImageRendering(boolean useJAIImageRendering)
Remarks:
The default value is true.
JAI will only be utilized if it is included as a dependency as described here. Certain images might not render correctly if JAI is disabled.
useJAIImageRendering - is it necessary to use JAI.public static boolean getUseJAIImageRendering()
Remarks:
The default value is true.
JAI will only be utilized if it is included as a dependency as described here. Certain images might not render correctly if JAI is disabled.
public static void setInterruptThreadIfImageExceptionThrown(boolean abortSavingIfImageExceptionThrown)
Remarks:
The default value is false.
abortSavingIfImageExceptionThrown - true - interrupt thread on image exceptions,
false - do not interruptpublic static boolean getInterruptThreadIfImageExceptionThrown()
Remarks:
The default value is false.