public interface LinkStatus
The status of a library used by a particular Cryptix class can
be found by calling the static method getLinkStatus()
on that class.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
Modifier and Type | Method and Description |
---|---|
void |
checkNative()
Checks that the native library is being used (i.e.
|
java.lang.String |
getLibraryName()
Returns the library name.
|
java.lang.String |
getLinkErrorString()
Returns an error string describing why the library failed to load,
or null if there was no error.
|
int |
getMajorVersion()
Returns the actual major version number.
|
int |
getMinorVersion()
Returns the actual minor version number.
|
int |
getRequiredMajorVersion()
Returns the required major version number.
|
int |
getRequiredMinorVersion()
Returns the required minor version number.
|
boolean |
isLibraryCorrect()
Returns true if the library was loaded successfully.
|
boolean |
isLibraryLoaded()
Returns true if the library was loaded.
|
void |
setNative(boolean enable)
Enables or disables the native code.
|
boolean |
useNative()
Returns true if native code is being used.
|
int getRequiredMajorVersion()
int getRequiredMinorVersion()
java.lang.String getLibraryName()
int getMajorVersion()
int getMinorVersion()
boolean isLibraryLoaded()
boolean isLibraryCorrect()
boolean useNative()
java.lang.String getLinkErrorString()
void checkNative() throws java.lang.UnsatisfiedLinkError
java.lang.UnsatisfiedLinkError
- if the library is not being usedvoid setNative(boolean enable)
enable
- true if native code should be used.