NativeLibSettings

Inheritance: java.lang.Object

public class NativeLibSettings

This class helps to set various options such as temporary folder for Aspose.Words native libraries and whether native libraries should be loaded and used.

Methods

MethodDescription
getTmpDirectoryPath()Return the path to the temporary directory of native libraries.
isHarfBuzzNativeLibLoaded()Returns true if HarfBuzz libraries is loaded.
isWinNativeLibLoaded()Returns true if WindowsNativeCall libraries is loaded.
loadHarfBuzzNativeLib()Sets to load and use harfbuzz-shaping-engine-dll.dll libraries.
loadWinNativeLib()Sets to load and use WindowsNativeCall_x86
setTmpDirectoryPath(String path)Specifies the path to the temporary directory of native libraries.
skipHarfBuzzNativeLib()Skip loading and use harfbuzz-shaping-engine-dll.dll libraries.
skipWinNativeLib()Skip loading and use WindowsNativeCall_x86

getTmpDirectoryPath()

public static String getTmpDirectoryPath()

Return the path to the temporary directory of native libraries.

Returns: java.lang.String

isHarfBuzzNativeLibLoaded()

public static boolean isHarfBuzzNativeLibLoaded()

Returns true if HarfBuzz libraries is loaded. By default, native libraries are loaded.

Returns: boolean

isWinNativeLibLoaded()

public static boolean isWinNativeLibLoaded()

Returns true if WindowsNativeCall libraries is loaded. By default, native libraries are loaded.

Returns: boolean

loadHarfBuzzNativeLib()

public static void loadHarfBuzzNativeLib()

Sets to load and use harfbuzz-shaping-engine-dll.dll libraries. By default, native libraries are loaded.

loadWinNativeLib()

public static void loadWinNativeLib()

Sets to load and use WindowsNativeCall_x86|_x64.dll libraries. By default, native libraries are loaded.

setTmpDirectoryPath(String path)

public static void setTmpDirectoryPath(String path)

Specifies the path to the temporary directory of native libraries.

Parameters:

ParameterTypeDescription
pathjava.lang.Stringthe path to the temporary directory of native libraries.

skipHarfBuzzNativeLib()

public static void skipHarfBuzzNativeLib()

Skip loading and use harfbuzz-shaping-engine-dll.dll libraries. By default, native libraries are loaded.

skipWinNativeLib()

public static void skipWinNativeLib()

Skip loading and use WindowsNativeCall_x86|_x64.dll libraries. By default, native libraries are loaded.