From 21391b1f74cd9ce7e4f5cd442166d70386d42b7c Mon Sep 17 00:00:00 2001 From: Jesper Smith Date: Wed, 26 Jul 2017 16:44:37 -0500 Subject: [PATCH] Added javadoc for the JassimpLibraryLoader --- .../src/jassimp/JassimpLibraryLoader.java | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/port/jassimp/jassimp/src/jassimp/JassimpLibraryLoader.java b/port/jassimp/jassimp/src/jassimp/JassimpLibraryLoader.java index 45e275698..c299706b7 100644 --- a/port/jassimp/jassimp/src/jassimp/JassimpLibraryLoader.java +++ b/port/jassimp/jassimp/src/jassimp/JassimpLibraryLoader.java @@ -40,10 +40,24 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package jassimp; +/** + * Library loader for the jassimp library.

+ * + * The default implementation uses "System.loadLibrary" to + * load the jassimp native library.

+ * + * Custom implementations should override the loadLibrary() + * function. + * + */ public class JassimpLibraryLoader -{ - static final JassimpLibraryLoader instance = new JassimpLibraryLoader(); - +{ + /** + * Function to load the native jassimp library. + * + * Called the first time Jassimp.importFile() is + * called. + */ public void loadLibrary() { System.loadLibrary("jassimp");