Class AdaptagramsLibrary
java.lang.Object
org.vanted.plugins.layout.adaptagrams.AdaptagramsLibrary
public class AdaptagramsLibrary extends Object
- Author:
- Tobias Czauderna
-
Constructor Summary
Constructors Constructor Description AdaptagramsLibrary()
-
Method Summary
Modifier and Type Method Description static String[]
getLibraryNames()
Return the names of the native Adaptagrams libraries for the different operating systems.static String
loadLibrary(String libraryName)
Load native Adaptagrams layout library.static String
loadLibrary(String libraryName, String libraryPath)
Load native Adaptagrams layout library.
-
Constructor Details
-
AdaptagramsLibrary
public AdaptagramsLibrary()
-
-
Method Details
-
getLibraryNames
Return the names of the native Adaptagrams libraries for the different operating systems. There is a 32 bit and 64 bit version of the library for Windows and Linux. There is only one library necessary for MacOS.- Returns:
- library names for the different operating systems
-
loadLibrary
Load native Adaptagrams layout library. Tries to load the layout library from the working directory.- Parameters:
libraryName
- name of the library- Returns:
- error message
-
loadLibrary
Load native Adaptagrams layout library.- Parameters:
libraryName
- name of the librarylibraryPath
- path to the library- Returns:
- error message
-