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 Path |
getExtractionDir()
Returns the place to store extracted libraries contained in JAR.
|
protected Path |
getLibraryFile(String libname)
Returns the file pointing to given library.
|
protected Path[] |
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 Path[] getLibrarySearchDirs()
LibraryBundlegetLibrarySearchDirs in class LibraryBundleprotected Path getExtractionDir()
protected String getEmbeddedLibraryDir()
protected EmbeddedResource getEmbeddedLibrary(String libname) throws Path.PathAccessException
libname - library name.Path.PathAccessException - if an error happened while getting the resource.protected boolean isExtracted(String libname)
libname - library name.protected Path getLibraryFile(String libname) throws Path.PathAccessException
LibraryBundlegetLibraryFile in class LibraryBundlelibname - library name.Path.PathAccessException - if library file could not be found.Copyright © 2016 Leandro José Britto de Oliveira. All rights reserved.