Class AdaptagramsLibrary

java.lang.Object
org.vanted.plugins.layout.adaptagrams.AdaptagramsLibrary

public class AdaptagramsLibrary
extends Object
Author:
Tobias Czauderna
  • Constructor Details

    • AdaptagramsLibrary

      public AdaptagramsLibrary()
  • Method Details

    • getLibraryNames

      public static String[] 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

      public static String loadLibrary​(String libraryName)
      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

      public static String loadLibrary​(String libraryName, String libraryPath)
      Load native Adaptagrams layout library.
      Parameters:
      libraryName - name of the library
      libraryPath - path to the library
      Returns:
      error message