Class LibraryLoader
- java.lang.Object
-
- com.stepover.opensignatureapi.helpers.LibraryLoader
-
public class LibraryLoader extends java.lang.Object
utility 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.File
getTempFolder()
Gets the temp folder.static void
load(java.lang.String librarySet)
Load.static void
markTempFolderForDeletion()
Mark temp folder for deletion.static void
removeTempFiles(java.io.File fileToDelete)
Removes the temp files.
-
-
-
Method Detail
-
load
public static void load(java.lang.String librarySet) throws OpenSignatureException
Load.- 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.IOException
Mark 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
-
-