Top Description Methods
com.badlogic.gdx.jnigen

public Interface SharedLibraryFinder

Imports
java.util.zip.ZipFile

Interface used for overriding the way of finding a name of a shared library, for a specific platform.
Author
Rob Bogie ([email protected])

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name of the shared file, or null if none available
getSharedLibraryNameAndroid
(String
The name of the shared lib that is asked to be loaded.
sharedLibName
,
ZipFile
A ZipFile object, which gives the ability to walk through the containing files, and allows for pattern matching. May be null if no zipfile is used.
nativesJar
)

public String

Returns:

The name of the shared file, or null if none available
getSharedLibraryNameLinux
(String
The name of the shared lib that is asked to be loaded.
sharedLibName
,
boolean
Whether the platform is 64 bit
is64Bit
,
boolean
Whether the platform has the ARM architecture
isArm
,
ZipFile
A ZipFile object, which gives the ability to walk through the containing files, and allows for pattern matching. May be null if no zipfile is used.
nativesJar
)

public String

Returns:

The name of the shared file, or null if none available
getSharedLibraryNameMac
(String
The name of the shared lib that is asked to be loaded.
sharedLibName
,
boolean is64Bit, ZipFile
A ZipFile object, which gives the ability to walk through the containing files, and allows for pattern matching. May be null if no zipfile is used.
nativesJar
)

public String

Returns:

The name of the shared file, or null if none available
getSharedLibraryNameWindows
(String
The name of the shared lib that is asked to be loaded.
sharedLibName
,
boolean
Whether the platform is 64 bit
is64Bit
,
ZipFile
A ZipFile object, which gives the ability to walk through the containing files, and allows for pattern matching. May be null if no zipfile is used.
nativesJar
)

Method Detail

getSharedLibraryNameAndroidback to summary
public String getSharedLibraryNameAndroid(String sharedLibName, ZipFile nativesJar)
Parameters
sharedLibName:String

The name of the shared lib that is asked to be loaded.

nativesJar:ZipFile

A ZipFile object, which gives the ability to walk through the containing files, and allows for pattern matching. May be null if no zipfile is used.

Returns:String

The name of the shared file, or null if none available

getSharedLibraryNameLinuxback to summary
public String getSharedLibraryNameLinux(String sharedLibName, boolean is64Bit, boolean isArm, ZipFile nativesJar)
Parameters
sharedLibName:String

The name of the shared lib that is asked to be loaded.

is64Bit:boolean

Whether the platform is 64 bit

isArm:boolean

Whether the platform has the ARM architecture

nativesJar:ZipFile

A ZipFile object, which gives the ability to walk through the containing files, and allows for pattern matching. May be null if no zipfile is used.

Returns:String

The name of the shared file, or null if none available

getSharedLibraryNameMacback to summary
public String getSharedLibraryNameMac(String sharedLibName, boolean is64Bit, ZipFile nativesJar)
Parameters
sharedLibName:String

The name of the shared lib that is asked to be loaded.

nativesJar:ZipFile

A ZipFile object, which gives the ability to walk through the containing files, and allows for pattern matching. May be null if no zipfile is used.

Returns:String

The name of the shared file, or null if none available

getSharedLibraryNameWindowsback to summary
public String getSharedLibraryNameWindows(String sharedLibName, boolean is64Bit, ZipFile nativesJar)
Parameters
sharedLibName:String

The name of the shared lib that is asked to be loaded.

is64Bit:boolean

Whether the platform is 64 bit

nativesJar:ZipFile

A ZipFile object, which gives the ability to walk through the containing files, and allows for pattern matching. May be null if no zipfile is used.

Returns:String

The name of the shared file, or null if none available