public class EmbeddedLibraryBundle extends LibraryBundle
| Constructor and Description |
|---|
EmbeddedLibraryBundle() |
| Modifier and Type | Method and Description |
|---|---|
protected EmbeddedResource |
getEmbeddedLibrary(String libname)
Returns the embedded path associated with given library name.
|
protected String |
getEmbeddedLibraryDir()
Returns the embedded directory path where libraries are stored.
|
protected UniversalFile |
getExtractionDir()
Returns the place to store extracted libraries contained in JAR.
|
protected UniversalFile |
getLibraryFile(String libname)
Returns the file pointing to given library.
|
protected UniversalFile[] |
getLibrarySearchDirs()
Returns the list of paths to search when loading libraries.
|
protected boolean |
isExtracted(String libname)
Returns a boolean indicating if given library was extracted.
|
getLibraryPrefix, getLibrarySuffix, isLoaded, loadLibraries, loadLibrary, registerLibraryprotected final UniversalFile[] getLibrarySearchDirs()
LibraryBundlegetLibrarySearchDirs in class LibraryBundleprotected UniversalFile getExtractionDir()
protected String getEmbeddedLibraryDir()
protected EmbeddedResource getEmbeddedLibrary(String libname) throws UniversalFile.FileAccessException
libname - library name.UniversalFile.FileAccessException - if an error happened while getting the resource.protected boolean isExtracted(String libname)
libname - library name.protected UniversalFile getLibraryFile(String libname) throws UniversalFile.FileAccessException
LibraryBundlegetLibraryFile in class LibraryBundlelibname - library name.UniversalFile.FileAccessException - if library file could not be found.Copyright © 2016 Leandro José Britto de Oliveira. All rights reserved.