org.tigris.subversion.javahl

Class NativeResources

class NativeResources extends Object

Handles activities related to management of native resouces (e.g. loading of native libraries).
Method Summary
static voidloadNativeLibrary()
Load the required native library whose path is specified by the system property subversion.native.library (which can be passed to the JVM on start-up using an argument like -Dsubversion.native.library=/usr/local/lib/libsvnjavahl-1.so).

Method Detail

loadNativeLibrary

public static void loadNativeLibrary()
Load the required native library whose path is specified by the system property subversion.native.library (which can be passed to the JVM on start-up using an argument like -Dsubversion.native.library=/usr/local/lib/libsvnjavahl-1.so). If the system property is not specified or cannot be loaded, attempt to load the library using its expected name, and the platform-dependent loading mechanism.

Throws: UnsatisfiedLinkError If the native library cannot be loaded.

Since: 1.3.0