Class LibraryLoader
- java.lang.Object
-
- com.stepover.opensignatureapi.helpers.LibraryLoader
-
public class LibraryLoader extends java.lang.Objectutility class to mange loading of dll sets
-
-
Constructor Summary
Constructors Constructor Description LibraryLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.FilegetTempFolder()Gets the temp folder.static voidload(java.lang.String librarySet)Load.static voidmarkTempFolderForDeletion()Mark temp folder for deletion.static voidremoveTempFiles(java.io.File fileToDelete)Removes the temp files.
-
-
-
Method Detail
-
load
public static void load(java.lang.String librarySet) throws OpenSignatureExceptionLoad.- Parameters:
librarySet- the library set- Throws:
OpenSignatureException- the open signature exception
-
getTempFolder
public static java.io.File getTempFolder()
Gets the temp folder.- Returns:
- the temp folder
-
markTempFolderForDeletion
public static void markTempFolderForDeletion() throws java.io.IOExceptionMark temp folder for deletion.- Throws:
java.io.IOException
-
removeTempFiles
public static void removeTempFiles(java.io.File fileToDelete)
Removes the temp files.- Parameters:
fileToDelete- the file to delete
-
-