public class LoadLibs extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LEPT4J_TEMP_DIR |
static String |
LIB_NAME
Native library name.
|
static String |
LIB_NAME_NON_WIN |
| Constructor and Description |
|---|
LoadLibs() |
| Modifier and Type | Method and Description |
|---|---|
static File |
extractNativeResources(String dirname)
Extracts Leptonica resources to temp folder.
|
static Leptonica |
getLeptonicaInstance()
Loads Leptonica library via JNA.
|
static String |
getLeptonicaLibName()
Gets native library name.
|
public static final String LEPT4J_TEMP_DIR
public static final String LIB_NAME
public static final String LIB_NAME_NON_WIN
public static Leptonica getLeptonicaInstance()
Native.loadLibrary().public static String getLeptonicaLibName()
Native.register().Copyright © 2017. All Rights Reserved.