Package org.drasyl.crypto.loader
Class LibraryLoader
java.lang.Object
org.drasyl.crypto.loader.LibraryLoader
Helper class to load the libsodium library from the preferred location.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Stringstatic StringvoidloadLibrary(String mode, String systemFallBack) voidloadSystemLibrary(String library) 
- 
Field Details- 
PREFER_SYSTEM- See Also:
 
- 
PREFER_BUNDLED- See Also:
 
- 
BUNDLED_ONLY- See Also:
 
- 
SYSTEM_ONLY- See Also:
 
 
- 
- 
Constructor Details- 
LibraryLoader
 
- 
- 
Method Details- 
getSodiumPlatformDependentPath
- 
getSodiumPathInResources- Throws:
- IOException
 
- 
loadSystemLibrary- Throws:
- IOException
 
- 
loadLibrary- Throws:
- IOException
 
 
-