public class SoFileLoaderImpl extends java.lang.Object implements SoFileLoader
| Constructor and Description |
|---|
SoFileLoaderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
load(java.lang.String pathToSoFile,
int loadFlags)
Load the so file from given path.
|
void |
loadBytes(java.lang.String pathName,
ElfByteChannel bytes,
int loadFlags)
Load the so from memory.
|
public void loadBytes(java.lang.String pathName,
ElfByteChannel bytes,
int loadFlags)
SoFileLoaderloadBytes in interface SoFileLoaderpathName - Name of the so file used to distinguish it from other loaded shared objects. If
the file is compressed in a file, the compressed file can be used as a name.bytes - An elf byte channel containing the bytes representing the shared object to be
loaded.loadFlags - SoLoader flagspublic void load(java.lang.String pathToSoFile,
int loadFlags)
SoFileLoaderload in interface SoFileLoaderpathToSoFile - so file pathloadFlags - loadFlags