Index

A B C D E F G H I J L M N O P R S U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ANDROID - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Android all variants (i.e., x86, AARCH64, ARM32) when using Runtime.loadLibrary(String).
ANDROID_ALL - Static variable in class electrostatic4j.snaploader.platform.util.DefaultDynamicLibraries
Represents a System Directory Android Library.

B

BROKEN_FILE_LOCATOR_PROVIDER - Static variable in class electrostatic4j.snaploader.util.StreamObjectValidator
 

C

CallingStackMetaData - Class in electrostatic4j.snaploader.util
A record-like structure representing immutable state objects for a calling stack invoking the library loading.
CallingStackMetaData(StackTraceElement, LoadingCriterion) - Constructor for class electrostatic4j.snaploader.util.CallingStackMetaData
 
CallingStackMetaData(StackTraceElement, LoadingCriterion, Throwable) - Constructor for class electrostatic4j.snaploader.util.CallingStackMetaData
 
CLASS_PATH - Static variable in class electrostatic4j.snaploader.filesystem.DirectoryPath
When combined with the LibraryInfo(DirectoryPath, DirectoryPath, String, DirectoryPath) and the NativeBinaryLoader APIs, it denotes the classpath routine for the FileLocator API.
classPathRoutine() - Method in class electrostatic4j.snaploader.filesystem.FileLocator
Commands for the classpath routines.
CLEAN_EXTRACTION - Enum constant in enum class electrostatic4j.snaploader.LoadingCriterion
Extracts the native binary to the extraction directory, ignoring its existence (the newly extracted binary will replace the current file).
cleanExtractBinary(NativeDynamicLibrary) - Method in class electrostatic4j.snaploader.ConcurrentNativeBinaryLoader
 
cleanExtractBinary(NativeDynamicLibrary) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Cleanly extracts and loads the native binary to the current [user.dir].
close() - Method in class electrostatic4j.snaploader.filesystem.FileExtractor
 
close() - Method in class electrostatic4j.snaploader.filesystem.FileLocator
 
compression - Variable in class electrostatic4j.snaploader.filesystem.FileLocator
Resembles the compression stream provider object, used in the case of external compression routines.
COMPRESSION_FILE_LOCALIZING_FAIL - Static variable in class electrostatic4j.snaploader.util.StreamObjectValidator
 
ConcurrentFileExtractor - Class in electrostatic4j.snaploader.filesystem
A thread-safe implementation of the filesystem extractor API.
ConcurrentFileExtractor() - Constructor for class electrostatic4j.snaploader.filesystem.ConcurrentFileExtractor
Instantiates an empty filesystem extractor instance.
ConcurrentFileExtractor(FileLocator, String) - Constructor for class electrostatic4j.snaploader.filesystem.ConcurrentFileExtractor
Instantiates a thread-safe filesystem extractor instance.
ConcurrentNativeBinaryLoader - Class in electrostatic4j.snaploader
A thread-safe implementation for the NativeBinaryLoader.
ConcurrentNativeBinaryLoader(List<NativeDynamicLibrary>, LibraryInfo) - Constructor for class electrostatic4j.snaploader.ConcurrentNativeBinaryLoader
Instantiates a thread-safe NativeBinaryLoader object.

D

DefaultDynamicLibraries - Class in electrostatic4j.snaploader.platform.util
Defines default helper objects for plug-and-play usage.
destination - Variable in class electrostatic4j.snaploader.filesystem.FileExtractor
An absolute path for the destination filesystem of the extraction process.
directoryPath - Variable in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
A designator for the extraction directory of the native library.
DirectoryPath - Class in electrostatic4j.snaploader.filesystem
A class denotes and provides a directory absolute path.
DirectoryPath(String) - Constructor for class electrostatic4j.snaploader.filesystem.DirectoryPath
Instantiates a directory path from a string path (not null).
DirectoryPath(String, String...) - Constructor for class electrostatic4j.snaploader.filesystem.DirectoryPath
Instantiates a directory path from a string path (not null) using the platform-specific file separators.

E

electrostatic4j.snaploader - package electrostatic4j.snaploader
Provides a loader api for the library, the loader extracts and loads the system specific binary on the runtime.
electrostatic4j.snaploader.filesystem - package electrostatic4j.snaploader.filesystem
Provides I/O stream provider interfaces for LibraryLocator and LibraryExtractor.
electrostatic4j.snaploader.library - package electrostatic4j.snaploader.library
Provides specialized implementation for FileLocator and FileExtractor.
electrostatic4j.snaploader.platform - package electrostatic4j.snaploader.platform
Provides platform-dependent specifications to handle the abstract interface for the jSnapLoader.
electrostatic4j.snaploader.platform.util - package electrostatic4j.snaploader.platform.util
Provides utilities to handle platform-specific binaries.
electrostatic4j.snaploader.throwable - package electrostatic4j.snaploader.throwable
Pack for throwable objects that are recoverable targets.
electrostatic4j.snaploader.util - package electrostatic4j.snaploader.util
 
evaluatePredicate() - Method in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Evaluate the propositions of the predefined platform-predicate.
externalCompressionRoutine(int) - Method in class electrostatic4j.snaploader.filesystem.FileLocator
Commands for the external compression routines.
extract() - Method in class electrostatic4j.snaploader.filesystem.ConcurrentFileExtractor
 
extract() - Method in class electrostatic4j.snaploader.filesystem.FileExtractor
Commands and Extract the specified filesystem to the specified destination filesystem.

F

FILE_SEPARATOR - Enum constant in enum class electrostatic4j.snaploader.platform.util.PropertiesProvider
Provides a string representation for the platform-dependent filesystem separator.
fileExtractionListener - Variable in class electrostatic4j.snaploader.filesystem.FileExtractor
An interface object to provide the extraction process with a command-state pattern.
FileExtractionListener - Interface in electrostatic4j.snaploader.filesystem
Provides executable functions ensuring tight binding the user applications to the extraction lifecycle.
FileExtractor - Class in electrostatic4j.snaploader.filesystem
Extracts a filesystem from a zip compression to a destination filesystem.
FileExtractor() - Constructor for class electrostatic4j.snaploader.filesystem.FileExtractor
Instantiates an empty filesystem extractor.
FileExtractor(FileLocator, String) - Constructor for class electrostatic4j.snaploader.filesystem.FileExtractor
Instantiates a filesystem extractor object with a filesystem locator and a destination filesystem.
fileInputStream - Variable in class electrostatic4j.snaploader.filesystem.FileLocator
The input stream associated with the located filesystem.
fileLocalizingListener - Variable in class electrostatic4j.snaploader.filesystem.FileLocator
An interface object to provide the file-localizing process with a command-state pattern; binding the user application interface with the file localizing lifecycle.
FileLocalizingListener - Interface in electrostatic4j.snaploader.filesystem
Provides executable functions by the file locator API to enable the binding of user applications with the file locator interface.
fileLocator - Variable in class electrostatic4j.snaploader.filesystem.FileExtractor
Locates a filesystem inside a zip compression.
FileLocator - Class in electrostatic4j.snaploader.filesystem
An Input Stream Provider that locates a filesystem inside a zip compression and provides an input stream object for the located filesystem entry.
FileLocator() - Constructor for class electrostatic4j.snaploader.filesystem.FileLocator
Instantiates an empty filesystem locator object.
FileLocator(String) - Constructor for class electrostatic4j.snaploader.filesystem.FileLocator
Locates the library inside the stock jar filesystem.
FileLocator(ZipFile, String) - Constructor for class electrostatic4j.snaploader.filesystem.FileLocator
Locates a filesystem inside an external zip compression, the zip filesystem is defined as a ZipFile object and the locatable filesystem is defined as a ZipEntry object.
fileOutputStream - Variable in class electrostatic4j.snaploader.filesystem.FileExtractor
Provides an output byte stream for this FileExtractor object.
filePath - Variable in class electrostatic4j.snaploader.filesystem.FileLocator
Resembles the file path inside the compression.
FilesystemResourceInitializationException - Exception Class in electrostatic4j.snaploader.throwable
Should be thrown when the initialization of the native streams has failed.
FilesystemResourceInitializationException() - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceInitializationException
 
FilesystemResourceInitializationException(String) - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceInitializationException
 
FilesystemResourceInitializationException(String, Throwable) - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceInitializationException
 
FilesystemResourceInitializationException(String, Throwable, boolean, boolean) - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceInitializationException
 
FilesystemResourceInitializationException(Throwable) - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceInitializationException
 
FilesystemResourceScavengingException - Exception Class in electrostatic4j.snaploader.throwable
Should be thrown when the closure of resources has failed.
FilesystemResourceScavengingException() - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceScavengingException
 
FilesystemResourceScavengingException(String) - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceScavengingException
 
FilesystemResourceScavengingException(String, Throwable) - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceScavengingException
 
FilesystemResourceScavengingException(String, Throwable, boolean, boolean) - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceScavengingException
 
FilesystemResourceScavengingException(Throwable) - Constructor for exception class electrostatic4j.snaploader.throwable.FilesystemResourceScavengingException
 

G

getBaseName() - Method in class electrostatic4j.snaploader.LibraryInfo
Retrieves the dynamic library basename.
getCallingStack() - Method in class electrostatic4j.snaploader.util.CallingStackMetaData
 
getCompressedLibrary() - Method in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
Retrieves the library path within the jar compression.
getCompression() - Method in class electrostatic4j.snaploader.filesystem.FileLocator
 
getCompression() - Method in interface electrostatic4j.snaploader.filesystem.ZipStreamProvider
Retrieves the compression used to locate the files.
getDirectory() - Method in class electrostatic4j.snaploader.LibraryInfo
Retrieves the directory inside the compression used for locating the native dynamic library.
getErrorCause() - Method in class electrostatic4j.snaploader.util.CallingStackMetaData
 
getExtractedLibrary() - Method in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
Retrieves the absolute path for the native library as supposed to be on the extraction directory.
getExtractionDirectory() - Method in class electrostatic4j.snaploader.LibraryInfo
Retrieves the extraction absolute directory.
getFileInputStream() - Method in class electrostatic4j.snaploader.filesystem.FileLocator
 
getFileInputStream() - Method in interface electrostatic4j.snaploader.filesystem.InputStreamProvider
Retrieves the input stream object associated with this filesystem entry.
getFileLocator() - Method in class electrostatic4j.snaploader.filesystem.FileExtractor
 
getFileLocator() - Method in interface electrostatic4j.snaploader.filesystem.OutputStreamProvider
Retrieves the input stream provider object (the filesystem locator object).
getFileOutputStream() - Method in class electrostatic4j.snaploader.filesystem.FileExtractor
 
getFileOutputStream() - Method in interface electrostatic4j.snaploader.filesystem.OutputStreamProvider
Retrieves the output stream object associated with this provider.
getHashKey() - Method in interface electrostatic4j.snaploader.filesystem.StreamProvider
Generates a unique hash key for this object using an MSB to LSB spreading algorithm.
getJarPath() - Method in class electrostatic4j.snaploader.LibraryInfo
Retrieves the jar filesystem path, the jar is the compression used to locate the native dynamic library to be extracted and loaded by NativeBinaryLoader.
getJarPath() - Method in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
Retrieves the absolute path for the jar compression as specified by the LibraryInfo API.
getLibraryExtractionListener() - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
getLibraryLocalizingListener() - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
getLoadingCriterion() - Method in class electrostatic4j.snaploader.util.CallingStackMetaData
 
getNativeBinaryLoadingListener() - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
getNativeDynamicLibrary() - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Retrieves the native dynamic library object representing the library to extract and load.
getPath() - Method in class electrostatic4j.snaploader.filesystem.DirectoryPath
Retrieves the absolute path to the specified directory path.
getPlatformDirectory() - Method in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
Retrieves the native library directory inside the jar compression.
getPlatformPredicate() - Method in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
Retrieves the platform-specific predicate to test against.
getProperty() - Method in enum class electrostatic4j.snaploader.platform.util.NativeVariant
Retrieves the data of this native variant property.
getRegisteredLibraries() - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
getSystemDetectionListener() - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
getSystemProperty() - Method in enum class electrostatic4j.snaploader.platform.util.PropertiesProvider
Retrieves the platform-dependent property.

H

hasAndroidActivity() - Static method in class electrostatic4j.snaploader.platform.util.PackageVariant
 
hasAndroidActivityOnly() - Static method in class electrostatic4j.snaploader.platform.util.PackageVariant
 
hasExtensions(String...) - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the named ISA extensions are all present.
hasFlutterActivity() - Static method in class electrostatic4j.snaploader.platform.util.PackageVariant
 
hasGWTContext() - Static method in class electrostatic4j.snaploader.platform.util.PackageVariant
 
hasJavaAWTWindow() - Static method in class electrostatic4j.snaploader.platform.util.PackageVariant
 
hasJavaFxWindow() - Static method in class electrostatic4j.snaploader.platform.util.PackageVariant
 
hasJmeAndroidContext() - Static method in class electrostatic4j.snaploader.platform.util.PackageVariant
 
hasJmeContext() - Static method in class electrostatic4j.snaploader.platform.util.PackageVariant
 
hasJmeFlutterContext() - Static method in class electrostatic4j.snaploader.platform.util.PackageVariant
 

I

INCREMENTAL_LOADING - Enum constant in enum class electrostatic4j.snaploader.LoadingCriterion
Extracts the native binary only if the current binary isn't present on the extraction directory.
initialize(int) - Method in class electrostatic4j.snaploader.filesystem.FileExtractor
 
initialize(int) - Method in class electrostatic4j.snaploader.filesystem.FileLocator
Initializes the input stream provider through a file locator routine, either classpath routine or external archive routine.
initialize(int) - Method in interface electrostatic4j.snaploader.filesystem.StreamProvider
Initializes the buffered stream handler object.
initializeLibraryExtractor(NativeDynamicLibrary) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Initializes a filesystem extractor object if the filesystem extractor object associated with this loader isn't defined.
initPlatformLibrary() - Method in class electrostatic4j.snaploader.ConcurrentNativeBinaryLoader
 
initPlatformLibrary() - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Initializes the platform-dependent native dynamic library.
initWithLibraryInfo(LibraryInfo) - Method in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
Initializes the native dynamic library with the library info.
InputStreamProvider - Interface in electrostatic4j.snaploader.filesystem
Defines an interface for an input stream provider that locates a filesystem and provides an InputStream object.
is64() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current system architecture is a 64-bit chipset (NOT APPLICABLE TO ALL CPUs).
isAMD() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current CPU vendor is an AMD vendor (e.g., x86_64 Intel Chipset).
isAndroid() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Os
Tests whether the current system is an Android.
isARM() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current CPU vendor is an ARM vendor (e.g., Broadcom Chipset).
isDesktop() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Os
Tests whether the current system runtime is Desktop.
isExtracted() - Method in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
Tests whether the native library is extracted to the specified extraction directory.
isIos() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Os
Contemplated to test whether the current system runtime is an iOS os.
isLinux() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Os
Tests whether the current system is a Linux.
isLoggingEnabled() - Static method in class electrostatic4j.snaploader.util.SnapLoaderLogger
Tests the logging flag, default value is false.
isMac() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Os
Tests whether the current system is a Mac.
isPpc() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current runtime environment is operating on a PowerPc CPU, typically Ppc only means 32-bit.
isPpc64le() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current runtime environment is operating on a PowerPc CPU, typically the 64-bit version with the little endian byte-order (i.e., le architecture).
isRetryWithCleanExtraction() - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Tests the retry with clean extraction flag, default value is false.
isRiscV() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current environment is running on a RISC-V (reduced instruction-set) CPU, typically plain RISC-V means 32-bit, and with the added predicate NativeVariant.Cpu.is64() adds the 64-bit predicate.
isS390() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current runtime environment is operating on an IBM System/390 CPU, typically plain s390 means the 32-bit version.
isS390x() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current runtime environment is operating on an IBM System/390 CPU, typically the 64-bit version.
isSparc() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current runtime environment is operating on a Sparc CPU, typically plain Sparc means 32-bit.
isSparcV9() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current runtime environment is operating on a SparcV9 CPU, the typical 64-bit version of the Sparc CPU.
isWebOs() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Os
Contemplated to test whether the current system runtime is a web os.
isWindows() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Os
Tests whether the current system is a Windows.
isX86() - Static method in class electrostatic4j.snaploader.platform.util.NativeVariant.Cpu
Tests whether the current system architecture is of an x86 chipset, typically 32-bit intel chipsets.

J

jarPath - Variable in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
The absolute path for the Jar file to extract and load the library from.
JAVA_HOME - Enum constant in enum class electrostatic4j.snaploader.platform.util.PropertiesProvider
Provides a string representation for the absolute path of the java interpreter binary.
JVM - Enum constant in enum class electrostatic4j.snaploader.platform.util.NativeVariant
The current java virtual machine.

L

libraryExtractionListener - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
 
libraryExtractor - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
An Output stream concrete provider for library extraction.
LibraryExtractor - Class in electrostatic4j.snaploader.library
Represents a thread-safe dynamic library (.so, .dll, .dylib) extractor based on the FileExtractor.
LibraryExtractor(String, String) - Constructor for class electrostatic4j.snaploader.library.LibraryExtractor
Instantiates a native dynamic library extractor with a library path and an extract destination filesystem path.
LibraryExtractor(ZipFile, String, String) - Constructor for class electrostatic4j.snaploader.library.LibraryExtractor
Instantiates a native dynamic library extractor for an external compression file locator routine.
libraryFile - Variable in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
A designator for the library name with the platform extension (basename + extension).
libraryInfo - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
 
LibraryInfo - Class in electrostatic4j.snaploader
Provides a platform-independent library placeholder with an adjustable baseName LibraryInfo.baseName grouping the common components among all platforms.
LibraryInfo(DirectoryPath, DirectoryPath, String, DirectoryPath) - Constructor for class electrostatic4j.snaploader.LibraryInfo
Instantiates a library info data structure pointing to a library in an external jar with jarPath.
LibraryInfo(DirectoryPath, String, DirectoryPath) - Constructor for class electrostatic4j.snaploader.LibraryInfo
Instantiates a library info data structure pointing to a library in the classpath.
libraryLocalizingListener - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
 
LibraryLocator - Class in electrostatic4j.snaploader.library
Locates a library inside a jar filesystem, the probable source for the native dynamic libraries to extract and load.
LibraryLocator(String) - Constructor for class electrostatic4j.snaploader.library.LibraryLocator
Locates the library inside the stock jar filesystem.
LibraryLocator(ZipFile, String) - Constructor for class electrostatic4j.snaploader.library.LibraryLocator
Locates a library inside an external jar, the external jar is defined by the means of a ZipFile and the native library is defined as a ZipEntry.
LINUX_ARM_32 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Linux on arm-32 Desktop Chipset.
LINUX_ARM_64 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Linux on arm-64 Desktop Chipset.
LINUX_RISC_V_32 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Linux on RiscV-32 Chipset.
LINUX_RISC_V_64 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Linux on RiscV-64 Chipset.
LINUX_X86 - Static variable in class electrostatic4j.snaploader.platform.util.DefaultDynamicLibraries
Represents a linux x86 binary with 32-bit instruction set.
LINUX_X86 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Linux on X86 Desktop Chipset.
LINUX_X86_64 - Static variable in class electrostatic4j.snaploader.platform.util.DefaultDynamicLibraries
Represents a linux x86 binary with 64-bit instruction set.
LINUX_X86_64 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Linux on X86-64 Desktop Chipset.
loadBinary(NativeDynamicLibrary, LoadingCriterion) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Loads a native binary into the virtual process address space from a specified native library data structure defining the directory path.
LoadingCriterion - Enum Class in electrostatic4j.snaploader
Represents an extraction/loading criterion type.
LoadingRetryExhaustionException - Exception Class in electrostatic4j.snaploader.throwable
Thrown to indicate that loading retries have reached their maximum.
LoadingRetryExhaustionException() - Constructor for exception class electrostatic4j.snaploader.throwable.LoadingRetryExhaustionException
 
LoadingRetryExhaustionException(String) - Constructor for exception class electrostatic4j.snaploader.throwable.LoadingRetryExhaustionException
 
LoadingRetryExhaustionException(String, Throwable) - Constructor for exception class electrostatic4j.snaploader.throwable.LoadingRetryExhaustionException
 
LoadingRetryExhaustionException(String, Throwable, boolean, boolean) - Constructor for exception class electrostatic4j.snaploader.throwable.LoadingRetryExhaustionException
 
LoadingRetryExhaustionException(Throwable) - Constructor for exception class electrostatic4j.snaploader.throwable.LoadingRetryExhaustionException
 
loadLibrary(LoadingCriterion) - Method in class electrostatic4j.snaploader.ConcurrentNativeBinaryLoader
 
loadLibrary(LoadingCriterion) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Extracts and loads the system and the architecture-specific library from the output jar to a specified directory according to a loading criterion (incremental-load or clean-extract).
loadSystemBinary() - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Loads a native binary from the system directories into the process virtual address space using the library basename in a platform-dependent way.
lock - Variable in class electrostatic4j.snaploader.ConcurrentNativeBinaryLoader
The monitor object.
lock - Variable in class electrostatic4j.snaploader.filesystem.ConcurrentFileExtractor
An Object that controls the monitor.
log(Level, String, String, String) - Static method in class electrostatic4j.snaploader.util.SnapLoaderLogger
Log data with a level and a throwable (optional).
log(Level, String, String, String, Throwable) - Static method in class electrostatic4j.snaploader.util.SnapLoaderLogger
Log data with a level and a throwable (optional).

M

MAC_X86 - Static variable in class electrostatic4j.snaploader.platform.util.DefaultDynamicLibraries
Represents a mac x86 binary with 32-bit instruction set.
MAC_X86_64 - Static variable in class electrostatic4j.snaploader.platform.util.DefaultDynamicLibraries
Represents a mac x86 binary with 64-bit instruction set.
MACOS_ARM_32 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for MacOSX on arm-32 Chipset.
MACOS_ARM_64 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for MacOSX on arm-64 Chipset.
MACOS_X86 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for MacOSX on X86 Chipset.
MACOS_X86_64 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for MacOSX on X86-64 Chipset.
maxNumberOfLoadingFailure - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
 

N

NativeBinaryLoader - Class in electrostatic4j.snaploader
A cross-platform utility for extracting and loading native binaries based on the variant properties (OS + ARCH + VM).
NativeBinaryLoader(LibraryInfo) - Constructor for class electrostatic4j.snaploader.NativeBinaryLoader
Instantiates a native dynamic library loader to extract and load a system-specific native dynamic library.
NativeBinaryLoader(List<NativeDynamicLibrary>, LibraryInfo) - Constructor for class electrostatic4j.snaploader.NativeBinaryLoader
Instantiates a native dynamic library loader to extract and load a system-specific native dynamic library.
nativeBinaryLoadingListener - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
 
NativeBinaryLoadingListener - Interface in electrostatic4j.snaploader
Provides executable functions binding the user applications to the loading lifecycle.
nativeDynamicLibrary - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
The native dynamic library object representing the library to extract and load.
NativeDynamicLibrary - Class in electrostatic4j.snaploader.platform
Represents a filesystem to a platform-specific binary inside a compression with a predicate; if the predicate evaluates, the library is loaded by the NativeBinaryLoader.
NativeDynamicLibrary(String, PlatformPredicate) - Constructor for class electrostatic4j.snaploader.platform.NativeDynamicLibrary
Creates a Native dynamic library from a relative directory and a library filesystem.
NativeDynamicLibrary(String, String, PlatformPredicate) - Constructor for class electrostatic4j.snaploader.platform.NativeDynamicLibrary
Creates a Native dynamic library from a relative directory and a library filesystem.
NativeVariant - Enum Class in electrostatic4j.snaploader.platform.util
Wraps objects for native variant constituents (OS + ARCH={CPU + INSTRUCT_SET} + VM).
NativeVariant.Cpu - Class in electrostatic4j.snaploader.platform.util
A namespace class exposing the CPU propositions.
NativeVariant.Os - Class in electrostatic4j.snaploader.platform.util
A namespace class exposing the Operating System Propositions.
numberOfLoadingFailure - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
 

O

onExtractionCompleted(FileExtractor) - Method in interface electrostatic4j.snaploader.filesystem.FileExtractionListener
Dispatched when the extraction process is completed.
onExtractionFailure(FileExtractor, Throwable) - Method in interface electrostatic4j.snaploader.filesystem.FileExtractionListener
Dispatched when the extraction process has failed with a throwable component.
onExtractionFinalization(FileExtractor, FileLocator) - Method in interface electrostatic4j.snaploader.filesystem.FileExtractionListener
Dispatched when the extraction process is finalized, at this point, manually freeing active resources should be attained.
onFileLocalizationFailure(FileLocator, Throwable) - Method in interface electrostatic4j.snaploader.filesystem.FileLocalizingListener
Dispatched whenever the file input stream is invalid, hence the specified file cannot be localized for the extraction process.
onFileLocalizationSuccess(FileLocator) - Method in interface electrostatic4j.snaploader.filesystem.FileLocalizingListener
Dispatched whenever the file input stream is valid, hence the specified file can be localized.
onLoadingFailure(NativeBinaryLoader, CallingStackMetaData) - Method in interface electrostatic4j.snaploader.NativeBinaryLoadingListener
Dispatched when loading the system-specific binary has failed.
onLoadingSuccess(NativeBinaryLoader, CallingStackMetaData) - Method in interface electrostatic4j.snaploader.NativeBinaryLoadingListener
Dispatched when loading the system-specific binary has succeeded.
onRetryCriterionExecution(NativeBinaryLoader, CallingStackMetaData) - Method in interface electrostatic4j.snaploader.NativeBinaryLoadingListener
Dispatched when loading the system-specific binary has failed, and the retry criterion has been executed.
onSystemFound(NativeBinaryLoader, NativeDynamicLibrary) - Method in interface electrostatic4j.snaploader.SystemDetectionListener
Dispatched when a system predicate is evaluated as true against the system in this runtime.
onSystemNotFound(NativeBinaryLoader) - Method in interface electrostatic4j.snaploader.SystemDetectionListener
Dispatched when all the registered system predicates are evaluated as false against the current system in this runtime.
OS_ARCH - Enum constant in enum class electrostatic4j.snaploader.platform.util.NativeVariant
The Operating system architecture.
OS_NAME - Enum constant in enum class electrostatic4j.snaploader.platform.util.NativeVariant
The Operating system name property for this variant.
OutputStreamProvider - Interface in electrostatic4j.snaploader.filesystem
Defines an interface for an output stream provider to locate and extract a filesystem from a zip compression; the output stream provider object is associated with an input stream provider object that locates this filesystem.

P

PackageVariant - Class in electrostatic4j.snaploader.platform.util
A namespace class exposing checks for the native window currently in runtime; this could give some more insights about the type of the framework the application is running on.
platformDirectory - Variable in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
The library path inside the compression (i.e., Jar file).
platformPredicate - Variable in class electrostatic4j.snaploader.platform.NativeDynamicLibrary
The platform-specific predicate; that if evaluated as true, the respective native library object will be assigned by the NativeBinaryLoader to be extracted and loaded.
PlatformPredicate - Class in electrostatic4j.snaploader.platform.util
Wraps a platform-specific predicate; that if all of its propositions evaluated as true, the respective platform library will be assigned to be extracted and loaded by the loader object in-command.
PlatformPredicate(boolean) - Constructor for class electrostatic4j.snaploader.platform.util.PlatformPredicate
Instantiates a platform-specific predicate object that wraps a predicate composed of multiple propositions appended by logical operations.
PlatformPredicate(PlatformPredicate, String...) - Constructor for class electrostatic4j.snaploader.platform.util.PlatformPredicate
Instantiates a predicate object that combines a pre-existing predicate with one or more instruction-set extensions.
preInitLibraryLocator(FileExtractor) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
PropertiesProvider - Enum Class in electrostatic4j.snaploader.platform.util
Provides platform-dependent system properties for the current running machine.

R

registeredLibraries - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
 
registerNativeLibraries(NativeDynamicLibrary[]) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
retryWithCleanExtraction - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
Flag for retry loading with clean extract if UnSatisfiedLinkError is thrown.

S

setBaseName(String) - Method in class electrostatic4j.snaploader.LibraryInfo
Adjusts the library base name in a dynamic library name (lib-[basename]).
setDirectory(DirectoryPath) - Method in class electrostatic4j.snaploader.LibraryInfo
Sets the directory to the native dynamic library inside the jar compression, "null" to use the default directories specified for each variant by NativeBinaryLoader.
setExtractionDirectory(DirectoryPath) - Method in class electrostatic4j.snaploader.LibraryInfo
Sets the extraction directory used for extracting the native dynamic library.
setExtractionListener(FileExtractionListener) - Method in class electrostatic4j.snaploader.filesystem.FileExtractor
Sets the extraction listener action to dispatch the FileExtractionListener.onExtractionCompleted(FileExtractor) when the extraction task is completed.
setFileLocalizingListener(FileLocalizingListener) - Method in class electrostatic4j.snaploader.filesystem.FileLocator
 
setFileLocalizingListener(FileLocalizingListener) - Method in interface electrostatic4j.snaploader.filesystem.InputStreamProvider
Sets the file localizing listener interface object to bind the user application to the file localizing lifecycle.
setJarPath(DirectoryPath) - Method in class electrostatic4j.snaploader.LibraryInfo
Sets the absolute path to the jar filesystem to locate the native dynamic library to be extracted and loaded, "null" to use the "classpath (the stock jar)"" to load the library filesystem.
setLibraryExtractionListener(FileExtractionListener) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
setLibraryLocalizingListener(FileLocalizingListener) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
setLoggingEnabled(boolean) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Enables the logging for this object, default value is false.
setLoggingEnabled(boolean) - Static method in class electrostatic4j.snaploader.util.SnapLoaderLogger
Enables the logging for this object, default value is false.
setMaxNumberOfLoadingFailure(int) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
setNativeBinaryLoadingListener(NativeBinaryLoadingListener) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
setRetryWithCleanExtraction(boolean) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
Enables the retry with clean extraction after a load failure, default value is false.
setSystemDetectionListener(SystemDetectionListener) - Method in class electrostatic4j.snaploader.NativeBinaryLoader
 
SnapLoaderLogger - Class in electrostatic4j.snaploader.util
 
SnapLoaderLogger() - Constructor for class electrostatic4j.snaploader.util.SnapLoaderLogger
 
StreamObjectValidator - Class in electrostatic4j.snaploader.util
Validates the stream providers tokens.
StreamProvider - Interface in electrostatic4j.snaploader.filesystem
A generic interface providing the main entry for all stream providers for buffered IO operations.
SYSTEM_LOAD - Enum constant in enum class electrostatic4j.snaploader.LoadingCriterion
Commands to load a native dynamic library from the system directories.
systemDetectionListener - Variable in class electrostatic4j.snaploader.NativeBinaryLoader
 
SystemDetectionListener - Interface in electrostatic4j.snaploader
Provides executable functions binding the user applications to the system detection lifecycle.

U

UnSupportedSystemError - Exception Class in electrostatic4j.snaploader.throwable
A business error of type Error to indicate an unsupported system.
UnSupportedSystemError(String, String) - Constructor for exception class electrostatic4j.snaploader.throwable.UnSupportedSystemError
Thrown if the system detects an unsupported system binaries of the current OS.
USER_DIR - Enum constant in enum class electrostatic4j.snaploader.platform.util.PropertiesProvider
Provides a string representation for the absolute directory of the current user directory.
USER_DIR - Static variable in class electrostatic4j.snaploader.filesystem.DirectoryPath
An alias object for the current working directory absolute path.
USER_HOME - Enum constant in enum class electrostatic4j.snaploader.platform.util.PropertiesProvider
Provides a string representation for the absolute directory of the user home.
USER_HOME - Static variable in class electrostatic4j.snaploader.filesystem.DirectoryPath
An alias object for the root user home directory absolute path.

V

validateAndThrow(StreamProvider, String, Throwable) - Static method in class electrostatic4j.snaploader.util.StreamObjectValidator
 
validateAndThrow(Object, String) - Static method in class electrostatic4j.snaploader.util.StreamObjectValidator
 
valueOf(String) - Static method in enum class electrostatic4j.snaploader.LoadingCriterion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class electrostatic4j.snaploader.platform.util.NativeVariant
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class electrostatic4j.snaploader.platform.util.PropertiesProvider
Returns the enum constant of this class with the specified name.
values() - Static method in enum class electrostatic4j.snaploader.LoadingCriterion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class electrostatic4j.snaploader.platform.util.NativeVariant
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class electrostatic4j.snaploader.platform.util.PropertiesProvider
Returns an array containing the constants of this enum class, in the order they are declared.

W

WIN_ARM_32 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Windows on arm-32 Chipset.
WIN_ARM_64 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Windows on arm-64 Chipset.
WIN_RISC_V_32 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Windows on RiscV-32 Chipset.
WIN_RISC_V_64 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Windows on RiscV-64 Chipset.
WIN_X86 - Static variable in class electrostatic4j.snaploader.platform.util.DefaultDynamicLibraries
Represents a windows x86 binary with 32-bit instruction set.
WIN_X86 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Windows on X86 Chipset.
WIN_X86_64 - Static variable in class electrostatic4j.snaploader.platform.util.DefaultDynamicLibraries
Represents a windows x86 binary with 64-bit instruction set.
WIN_X86_64 - Static variable in class electrostatic4j.snaploader.platform.util.PlatformPredicate
Alias object for Windows on X86-64 Chipset.

Z

ZIP_FILE_SEPARATOR - Enum constant in enum class electrostatic4j.snaploader.platform.util.PropertiesProvider
Provides a string representation for the filesystem separator of the Zip specification.
ZipStreamProvider - Interface in electrostatic4j.snaploader.filesystem
A specialization providing a zip file object over the input stream provider to locate the files from within.
A B C D E F G H I J L M N O P R S U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form