A B C E F G H I J L M O P R S T V W 

A

append(byte[]) - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
append(AsciiBytes) - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
append(String) - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
apply(AsciiBytes, Archive.Entry) - Method in interface io.joshworks.snappy.loader.archive.Archive.EntryRenameFilter
Apply the jar entry filter.
apply(AsciiBytes, JarEntryData) - Method in interface io.joshworks.snappy.loader.jar.JarEntryFilter
Apply the jar entry filter.
Archive - Class in io.joshworks.snappy.loader.archive
An archive that can be launched by the Launcher.
Archive() - Constructor for class io.joshworks.snappy.loader.archive.Archive
 
Archive.Entry - Interface in io.joshworks.snappy.loader.archive
Represents a single entry in the archive.
Archive.EntryFilter - Interface in io.joshworks.snappy.loader.archive
Strategy interface to filter Entries.
Archive.EntryRenameFilter - Interface in io.joshworks.snappy.loader.archive
Strategy interface to filter or rename Entries.
ARGS - Static variable in class io.joshworks.snappy.loader.PropertiesLauncher
Properties key for default command line arguments.
AsciiBytes - Class in io.joshworks.snappy.loader.util
Simple wrapper around a byte array that represents an ASCII.
AsciiBytes(byte[]) - Constructor for class io.joshworks.snappy.loader.util.AsciiBytes
Create a new AsciiBytes from the specified bytes.
AsciiBytes(byte[], int, int) - Constructor for class io.joshworks.snappy.loader.util.AsciiBytes
Create a new AsciiBytes from the specified bytes.
AsciiBytes(String) - Constructor for class io.joshworks.snappy.loader.util.AsciiBytes
Create a new AsciiBytes from the specified String.

B

ByteArrayRandomAccessData - Class in io.joshworks.snappy.loader.data
RandomAccessData implementation backed by a byte array.
ByteArrayRandomAccessData(byte[]) - Constructor for class io.joshworks.snappy.loader.data.ByteArrayRandomAccessData
 
ByteArrayRandomAccessData(byte[], long, long) - Constructor for class io.joshworks.snappy.loader.data.ByteArrayRandomAccessData
 

C

close() - Method in class io.joshworks.snappy.loader.data.RandomAccessDataFile
 
close() - Method in class io.joshworks.snappy.loader.jar.JarFile
 
CONFIG_LOCATION - Static variable in class io.joshworks.snappy.loader.PropertiesLauncher
Properties key for config file location (including optional classpath:, file: or URL prefix).
CONFIG_NAME - Static variable in class io.joshworks.snappy.loader.PropertiesLauncher
Properties key for name of external configuration file (excluding suffix).
createArchive() - Method in class io.joshworks.snappy.loader.Launcher
 
createClassLoader(URL[]) - Method in class io.joshworks.snappy.loader.ExecutableArchiveLauncher
 
createClassLoader(URL[]) - Method in class io.joshworks.snappy.loader.Launcher
Create a classloader for the specified URLs.
createClassLoader(List<Archive>) - Method in class io.joshworks.snappy.loader.Launcher
Create a classloader for the specified archives.
createClassLoader(List<Archive>) - Method in class io.joshworks.snappy.loader.PropertiesLauncher
 
createMainMethodRunner(String, String[], ClassLoader) - Method in class io.joshworks.snappy.loader.Launcher
Create the MainMethodRunner used to launch the application.

E

endsWith(AsciiBytes) - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
entries() - Method in class io.joshworks.snappy.loader.jar.JarFile
 
equals(Object) - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
ExecutableArchiveLauncher - Class in io.joshworks.snappy.loader
Base class for executable archive Launchers.
ExecutableArchiveLauncher() - Constructor for class io.joshworks.snappy.loader.ExecutableArchiveLauncher
 
ExecutableArchiveLauncher(Archive) - Constructor for class io.joshworks.snappy.loader.ExecutableArchiveLauncher
 
ExecutableArchiveLauncher(JavaAgentDetector) - Constructor for class io.joshworks.snappy.loader.ExecutableArchiveLauncher
 
ExplodedArchive - Class in io.joshworks.snappy.loader.archive
Archive implementation backed by an exploded archive directory.
ExplodedArchive(File) - Constructor for class io.joshworks.snappy.loader.archive.ExplodedArchive
Create a new ExplodedArchive instance.
ExplodedArchive(File, boolean) - Constructor for class io.joshworks.snappy.loader.archive.ExplodedArchive
Create a new ExplodedArchive instance.

F

FilteredArchive - Class in io.joshworks.snappy.loader.archive
Decorator to apply an Archive.EntryFilter to an existing Archive.
FilteredArchive(Archive, Archive.EntryFilter) - Constructor for class io.joshworks.snappy.loader.archive.FilteredArchive
 
findResource(String) - Method in class io.joshworks.snappy.loader.LaunchedURLClassLoader
 
findResources(String) - Method in class io.joshworks.snappy.loader.LaunchedURLClassLoader
 

G

getArchive() - Method in class io.joshworks.snappy.loader.ExecutableArchiveLauncher
 
getArgs(String...) - Method in class io.joshworks.snappy.loader.PropertiesLauncher
 
getAttributes() - Method in class io.joshworks.snappy.loader.jar.JarEntry
 
getCertificates() - Method in class io.joshworks.snappy.loader.jar.JarEntry
 
getClassPathArchives() - Method in class io.joshworks.snappy.loader.ExecutableArchiveLauncher
 
getClassPathArchives() - Method in class io.joshworks.snappy.loader.Launcher
Returns the archives that will be used to construct the class path.
getClassPathArchives() - Method in class io.joshworks.snappy.loader.PropertiesLauncher
 
getCodeSigners() - Method in class io.joshworks.snappy.loader.jar.JarEntry
 
getComment() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
 
getCompressedSize() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
 
getCrc() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
 
getData() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
Return the underlying RandomAccessData for this entry.
getEntries() - Method in class io.joshworks.snappy.loader.archive.Archive
Returns all entries from the archive.
getEntries() - Method in class io.joshworks.snappy.loader.archive.ExplodedArchive
 
getEntries() - Method in class io.joshworks.snappy.loader.archive.FilteredArchive
 
getEntries() - Method in class io.joshworks.snappy.loader.archive.JarFileArchive
 
getEntry(String) - Method in class io.joshworks.snappy.loader.jar.JarFile
 
getExtra() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
 
getFile() - Method in class io.joshworks.snappy.loader.data.RandomAccessDataFile
Returns the underlying File.
getFilteredArchive(Archive.EntryRenameFilter) - Method in class io.joshworks.snappy.loader.archive.Archive
Returns a filtered version of the archive.
getFilteredArchive(Archive.EntryRenameFilter) - Method in class io.joshworks.snappy.loader.archive.ExplodedArchive
 
getFilteredArchive(Archive.EntryRenameFilter) - Method in class io.joshworks.snappy.loader.archive.FilteredArchive
 
getFilteredArchive(Archive.EntryRenameFilter) - Method in class io.joshworks.snappy.loader.archive.JarFileArchive
 
getFilteredJarFile(JarEntryFilter...) - Method in class io.joshworks.snappy.loader.jar.JarFile
Return a new jar based on the filtered contents of this file.
getHomeDirectory() - Method in class io.joshworks.snappy.loader.PropertiesLauncher
 
getInputStream(RandomAccessData.ResourceAccess) - Method in class io.joshworks.snappy.loader.data.ByteArrayRandomAccessData
 
getInputStream(RandomAccessData.ResourceAccess) - Method in interface io.joshworks.snappy.loader.data.RandomAccessData
Returns an InputStream that can be used to read the underlying data.
getInputStream(RandomAccessData.ResourceAccess) - Method in class io.joshworks.snappy.loader.data.RandomAccessDataFile
 
getInputStream(ZipEntry) - Method in class io.joshworks.snappy.loader.jar.JarFile
 
getJarEntry(String) - Method in class io.joshworks.snappy.loader.jar.JarFile
 
getJarEntryData(AsciiBytes) - Method in class io.joshworks.snappy.loader.jar.JarFile
 
getJarEntryData(String) - Method in class io.joshworks.snappy.loader.jar.JarFile
 
getMainClass() - Method in class io.joshworks.snappy.loader.archive.Archive
Obtain the main class that should be used to launch the application.
getMainClass() - Method in class io.joshworks.snappy.loader.archive.FilteredArchive
 
getMainClass() - Method in class io.joshworks.snappy.loader.ExecutableArchiveLauncher
 
getMainClass() - Method in class io.joshworks.snappy.loader.Launcher
Returns the main class that should be launched.
getMainClass() - Method in class io.joshworks.snappy.loader.PropertiesLauncher
 
getManifest() - Method in class io.joshworks.snappy.loader.archive.Archive
Returns the manifest of the archive.
getManifest() - Method in class io.joshworks.snappy.loader.archive.ExplodedArchive
 
getManifest() - Method in class io.joshworks.snappy.loader.archive.FilteredArchive
 
getManifest() - Method in class io.joshworks.snappy.loader.archive.JarFileArchive
 
getManifest() - Method in class io.joshworks.snappy.loader.jar.JarFile
 
getMethod() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
 
getName() - Method in interface io.joshworks.snappy.loader.archive.Archive.Entry
Returns the name of the entry.
getName() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
 
getName() - Method in class io.joshworks.snappy.loader.jar.JarFile
 
getNestedArchive(Archive.Entry) - Method in class io.joshworks.snappy.loader.archive.ExplodedArchive
 
getNestedArchive(Archive.Entry) - Method in class io.joshworks.snappy.loader.archive.JarFileArchive
 
getNestedArchives(Archive.EntryFilter) - Method in class io.joshworks.snappy.loader.archive.Archive
Returns nested Archives for entries that match the specified filter.
getNestedArchives(Archive.EntryFilter) - Method in class io.joshworks.snappy.loader.archive.ExplodedArchive
 
getNestedArchives(Archive.EntryFilter) - Method in class io.joshworks.snappy.loader.archive.FilteredArchive
 
getNestedArchives(Archive.EntryFilter) - Method in class io.joshworks.snappy.loader.archive.JarFileArchive
 
getNestedJarFile(JarEntryData) - Method in class io.joshworks.snappy.loader.jar.JarFile
Return a nested JarFile loaded from the specified entry.
getNestedJarFile(ZipEntry) - Method in class io.joshworks.snappy.loader.jar.JarFile
Return a nested JarFile loaded from the specified entry.
getProperty(String) - Static method in class io.joshworks.snappy.loader.util.SystemPropertyUtils
 
getProperty(String, String) - Static method in class io.joshworks.snappy.loader.util.SystemPropertyUtils
 
getProperty(String, String, String) - Static method in class io.joshworks.snappy.loader.util.SystemPropertyUtils
Search the System properties and environment variables for a value with the provided key.
getResource(String) - Method in class io.joshworks.snappy.loader.LaunchedURLClassLoader
Gets the resource with the given name.
getResources(String) - Method in class io.joshworks.snappy.loader.LaunchedURLClassLoader
Gets the resources with the given name.
getRootJarFile() - Method in class io.joshworks.snappy.loader.jar.JarFile
 
getRootJarFileFromUrl(URL) - Method in class io.joshworks.snappy.loader.jar.Handler
 
getSize() - Method in class io.joshworks.snappy.loader.data.ByteArrayRandomAccessData
 
getSize() - Method in interface io.joshworks.snappy.loader.data.RandomAccessData
Returns the size of the data.
getSize() - Method in class io.joshworks.snappy.loader.data.RandomAccessDataFile
 
getSize() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
 
getSource() - Method in class io.joshworks.snappy.loader.jar.JarEntry
Return the source JarEntryData that was used to create this entry.
getSubsection(long, long) - Method in class io.joshworks.snappy.loader.data.ByteArrayRandomAccessData
 
getSubsection(long, long) - Method in interface io.joshworks.snappy.loader.data.RandomAccessData
Returns a new RandomAccessData for a specific subsection of this data.
getSubsection(long, long) - Method in class io.joshworks.snappy.loader.data.RandomAccessDataFile
 
getTime() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
 
getUrl() - Method in class io.joshworks.snappy.loader.archive.Archive
Returns a URL that can be used to load the archive.
getUrl() - Method in class io.joshworks.snappy.loader.archive.ExplodedArchive
 
getUrl() - Method in class io.joshworks.snappy.loader.archive.FilteredArchive
 
getUrl() - Method in class io.joshworks.snappy.loader.archive.JarFileArchive
 
getUrl() - Method in class io.joshworks.snappy.loader.jar.JarEntry
Return a URL for this JarEntry.
getUrl() - Method in class io.joshworks.snappy.loader.jar.JarFile
Return a URL that can be used to access this JAR file.

H

Handler - Class in io.joshworks.snappy.loader.jar
URLStreamHandler for Spring Boot loader JarFiles.
Handler() - Constructor for class io.joshworks.snappy.loader.jar.Handler
 
Handler(JarFile) - Constructor for class io.joshworks.snappy.loader.jar.Handler
 
hashCode() - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
HOME - Static variable in class io.joshworks.snappy.loader.PropertiesLauncher
Properties key for home directory.

I

InputArgumentsJavaAgentDetector - Class in io.joshworks.snappy.loader
A JavaAgentDetector that detects jars supplied via the -javaagent JVM input argument.
InputArgumentsJavaAgentDetector() - Constructor for class io.joshworks.snappy.loader.InputArgumentsJavaAgentDetector
 
io.joshworks.snappy.loader - package io.joshworks.snappy.loader
System that allows self-contained JAR/WAR archives to be launched using java -jar.
io.joshworks.snappy.loader.archive - package io.joshworks.snappy.loader.archive
Abstraction over logical Archives be they backed by a JAR file or unpacked into a folder.
io.joshworks.snappy.loader.data - package io.joshworks.snappy.loader.data
Classes and interfaces to allows random access to a block of data.
io.joshworks.snappy.loader.jar - package io.joshworks.snappy.loader.jar
Support for loading and manipulating JAR/WAR files.
io.joshworks.snappy.loader.util - package io.joshworks.snappy.loader.util
Utilities used by Spring Boot's JAR loading.
isDirectory() - Method in interface io.joshworks.snappy.loader.archive.Archive.Entry
Returns true if the entry represents a directory.
isDirectory() - Method in class io.joshworks.snappy.loader.jar.JarEntryData
 
isJavaAgentJar(URL) - Method in class io.joshworks.snappy.loader.InputArgumentsJavaAgentDetector
 
isJavaAgentJar(URL) - Method in interface io.joshworks.snappy.loader.JavaAgentDetector
Returns true if url points to a Java agent jar file, otherwise false is returned.
isNestedArchive(Archive.Entry) - Method in class io.joshworks.snappy.loader.ExecutableArchiveLauncher
Determine if the specified JarEntry is a nested item that should be added to the classpath.
isNestedArchive(Archive.Entry) - Method in class io.joshworks.snappy.loader.JarLauncher
 
isNestedArchive(Archive.Entry) - Method in class io.joshworks.snappy.loader.WarLauncher
 
iterator() - Method in class io.joshworks.snappy.loader.jar.JarFile
 

J

JarEntry - Class in io.joshworks.snappy.loader.jar
Extended variant of JarEntry returned by JarFiles.
JarEntry(JarEntryData) - Constructor for class io.joshworks.snappy.loader.jar.JarEntry
 
JarEntryData - Class in io.joshworks.snappy.loader.jar
Holds the underlying data of a JarEntry, allowing creation to be deferred until the entry is actually needed.
JarEntryData(JarFile, byte[], InputStream) - Constructor for class io.joshworks.snappy.loader.jar.JarEntryData
 
JarEntryFilter - Interface in io.joshworks.snappy.loader.jar
Interface that can be used to filter and optionally rename jar entries.
JarFile - Class in io.joshworks.snappy.loader.jar
Extended variant of JarFile that behaves in the same way but offers the following additional functionality.
JarFile(File) - Constructor for class io.joshworks.snappy.loader.jar.JarFile
Create a new JarFile backed by the specified file.
JarFileArchive - Class in io.joshworks.snappy.loader.archive
Archive implementation backed by a JarFile.
JarFileArchive(JarFile) - Constructor for class io.joshworks.snappy.loader.archive.JarFileArchive
 
JarFileArchive(File) - Constructor for class io.joshworks.snappy.loader.archive.JarFileArchive
 
JarFileArchive(File, URL) - Constructor for class io.joshworks.snappy.loader.archive.JarFileArchive
 
JarLauncher - Class in io.joshworks.snappy.loader
Launcher for JAR based archives.
JarLauncher() - Constructor for class io.joshworks.snappy.loader.JarLauncher
 
JarLauncher(Archive) - Constructor for class io.joshworks.snappy.loader.JarLauncher
 
JavaAgentDetector - Interface in io.joshworks.snappy.loader
A strategy for detecting Java agents.

L

launch(String[]) - Method in class io.joshworks.snappy.loader.Launcher
Launch the application.
launch(String[], String, ClassLoader) - Method in class io.joshworks.snappy.loader.Launcher
Launch the application given the archive file and a fully configured classloader.
LaunchedURLClassLoader - Class in io.joshworks.snappy.loader
ClassLoader used by the Launcher.
LaunchedURLClassLoader(URL[], ClassLoader) - Constructor for class io.joshworks.snappy.loader.LaunchedURLClassLoader
Create a new LaunchedURLClassLoader instance.
Launcher - Class in io.joshworks.snappy.loader
Base class for launchers that can start an application with a fully configured classpath backed by one or more Archives.
Launcher() - Constructor for class io.joshworks.snappy.loader.Launcher
 
length() - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
loadClass(String, boolean) - Method in class io.joshworks.snappy.loader.LaunchedURLClassLoader
Attempt to load classes from the URLs before delegating to the parent loader.
logger - Variable in class io.joshworks.snappy.loader.Launcher
 

M

main(String[]) - Static method in class io.joshworks.snappy.loader.JarLauncher
 
main(String[]) - Static method in class io.joshworks.snappy.loader.PropertiesLauncher
 
main(String[]) - Static method in class io.joshworks.snappy.loader.SampleApp
 
main(String[]) - Static method in class io.joshworks.snappy.loader.WarLauncher
 
MAIN - Static variable in class io.joshworks.snappy.loader.PropertiesLauncher
Properties key for main class.
MainMethodRunner - Class in io.joshworks.snappy.loader
Utility class that used by Launchers to call a main method.
MainMethodRunner(String, String[]) - Constructor for class io.joshworks.snappy.loader.MainMethodRunner
Create a new MainMethodRunner instance.
matches(Archive.Entry) - Method in interface io.joshworks.snappy.loader.archive.Archive.EntryFilter
Apply the jar entry filter.

O

ONCE - io.joshworks.snappy.loader.data.RandomAccessData.ResourceAccess
Obtain access to the underlying resource once and keep it until the stream is closed.
openConnection(URL) - Method in class io.joshworks.snappy.loader.jar.Handler
 

P

PATH - Static variable in class io.joshworks.snappy.loader.PropertiesLauncher
Properties key for classpath entries (directories possibly containing jars).
PER_READ - io.joshworks.snappy.loader.data.RandomAccessData.ResourceAccess
Obtain access to the underlying resource on each read, releasing it when done.
PLACEHOLDER_PREFIX - Static variable in class io.joshworks.snappy.loader.util.SystemPropertyUtils
Prefix for system property placeholders: "${".
PLACEHOLDER_SUFFIX - Static variable in class io.joshworks.snappy.loader.util.SystemPropertyUtils
Suffix for system property placeholders: "}".
postProcessClassPathArchives(List<Archive>) - Method in class io.joshworks.snappy.loader.ExecutableArchiveLauncher
Called to post-process archive entries before they are used.
postProcessClassPathArchives(List<Archive>) - Method in class io.joshworks.snappy.loader.JarLauncher
 
PropertiesLauncher - Class in io.joshworks.snappy.loader
Launcher for archives with user-configured classpath and main class via a properties file.
PropertiesLauncher() - Constructor for class io.joshworks.snappy.loader.PropertiesLauncher
 

R

RandomAccessData - Interface in io.joshworks.snappy.loader.data
Interface that provides read-only random access to some underlying data.
RandomAccessData.ResourceAccess - Enum in io.joshworks.snappy.loader.data
Lock modes for accessing the underlying resource.
RandomAccessDataFile - Class in io.joshworks.snappy.loader.data
RandomAccessData implementation backed by a RandomAccessFile.
RandomAccessDataFile(File) - Constructor for class io.joshworks.snappy.loader.data.RandomAccessDataFile
Create a new RandomAccessDataFile backed by the specified file.
RandomAccessDataFile(File, int) - Constructor for class io.joshworks.snappy.loader.data.RandomAccessDataFile
Create a new RandomAccessDataFile backed by the specified file.
registerUrlProtocolHandler() - Static method in class io.joshworks.snappy.loader.jar.JarFile
Register a 'java.protocol.handler.pkgs' property so that a URLStreamHandler will be located to deal with jar URLs.
resolvePlaceholders(String) - Static method in class io.joshworks.snappy.loader.util.SystemPropertyUtils
Resolve ${...} placeholders in the given text, replacing them with corresponding system property values.
resolvePlaceholders(Properties, String) - Static method in class io.joshworks.snappy.loader.util.SystemPropertyUtils
Resolve ${...} placeholders in the given text, replacing them with corresponding system property values.
run() - Method in class io.joshworks.snappy.loader.MainMethodRunner
 

S

SampleApp - Class in io.joshworks.snappy.loader
Created by Josue on 28/01/2017.
SampleApp() - Constructor for class io.joshworks.snappy.loader.SampleApp
 
SET_SYSTEM_PROPERTIES - Static variable in class io.joshworks.snappy.loader.PropertiesLauncher
Properties key for boolean flag (default false) which if set will cause the external configuration properties to be copied to System properties (assuming that is allowed by Java security).
setUseFastConnectionExceptions(boolean) - Static method in class io.joshworks.snappy.loader.jar.Handler
Set if a generic static exception can be thrown when a URL cannot be connected.
size() - Method in class io.joshworks.snappy.loader.jar.JarFile
 
startsWith(AsciiBytes) - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
substring(int) - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
substring(int, int) - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 
SystemPropertyUtils - Class in io.joshworks.snappy.loader.util
Helper class for resolving placeholders in texts.
SystemPropertyUtils() - Constructor for class io.joshworks.snappy.loader.util.SystemPropertyUtils
 

T

toCamelCase(CharSequence) - Static method in class io.joshworks.snappy.loader.PropertiesLauncher
 
toString() - Method in class io.joshworks.snappy.loader.archive.Archive
 
toString() - Method in class io.joshworks.snappy.loader.jar.JarFile
 
toString() - Method in class io.joshworks.snappy.loader.util.AsciiBytes
 

V

VALUE_SEPARATOR - Static variable in class io.joshworks.snappy.loader.util.SystemPropertyUtils
Value separator for system property placeholders: ":".
valueOf(String) - Static method in enum io.joshworks.snappy.loader.data.RandomAccessData.ResourceAccess
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.joshworks.snappy.loader.data.RandomAccessData.ResourceAccess
Returns an array containing the constants of this enum type, in the order they are declared.

W

WarLauncher - Class in io.joshworks.snappy.loader
Launcher for WAR based archives.
WarLauncher() - Constructor for class io.joshworks.snappy.loader.WarLauncher
 
WarLauncher(Archive) - Constructor for class io.joshworks.snappy.loader.WarLauncher
 
A B C E F G H I J L M O P R S T V W 
Skip navigation links

Copyright © 2018. All rights reserved.