B C E G H I J L M P S T V 

B

buildAppId() - Method in class Capsule
Computes and returns application's ID
buildArgs(List<String>) - Method in class Capsule
Returns a list of command line arguments to pass to the application.
buildBootClassPath() - Method in class Capsule
Compiles and returns the application's boot classpath as a list of paths.
buildBootClassPathA() - Method in class Capsule
Compiles and returns the paths to be appended to the application's boot classpath.
buildBootClassPathP() - Method in class Capsule
Compiles and returns the paths to be prepended to the application's boot classpath.
buildClassPath() - Method in class Capsule
Compiles and returns the application's classpath as a list of paths.
buildEnvironmentVariables(Map<String, String>) - Method in class Capsule
Returns a map of environment variables (property-value pairs).
buildJVMArgs() - Method in class Capsule
Returns a list of JVM arguments.
buildProcess() - Method in class Capsule
Constructs a ProcessBuilder that is later used to launch the capsule.
buildSystemProperties() - Method in class Capsule
Returns a map of system properties (property-value pairs).

C

Capsule - Class in <Unnamed>
An application capsule.
Capsule(Path, Path) - Constructor for class Capsule
Constructs a capsule from the given JAR file.
chooseJavaHome() - Method in class Capsule
Chooses which Java installation to use for running the app.
chooseLogLevel() - Method in class Capsule
Chooses and returns the capsules log level.
chooseMode() - Method in class Capsule
Chooses this capsule's mode.
clone() - Method in class Capsule
compareVersions(String, String, int) - Static method in class Capsule
Compares two dotted software versions, regarding only the first several version components.
compareVersions(String, String) - Static method in class Capsule
Compares two dotted software versions.

E

equals(Object) - Method in class Capsule
 
exec(String...) - Static method in class Capsule
Executes a command and returns its output as a list of lines.
exec(int, String...) - Static method in class Capsule
Executes a command and returns its output as a list of lines.
exec(ProcessBuilder) - Static method in class Capsule
Executes a command and returns its output as a list of lines.
exec(int, ProcessBuilder) - Static method in class Capsule
Executes a command and returns its output as a list of lines.
expand(String) - Method in class Capsule
Expands occurrences of $VARNAME in attribute values.
extractCapsule() - Method in class Capsule
Extracts the capsule's contents into the app cache directory.

G

getAppCache() - Method in class Capsule
This capsule's cache directory, or null if capsule has been configured not to extract.
getAppId(List<String>) - Method in class Capsule
Returns the app's ID.
getAttribute(String) - Method in class Capsule
Returns the value of the given manifest attribute with consideration to the capsule's mode.
getDependencies() - Method in class Capsule
Returns a list of dependencies, each in the format groupId:artifactId:version[:classifier] (classifier is optional)
getJarFile() - Method in class Capsule
This capsule's JAR file.
getJavaExecutable() - Method in class Capsule
Returns the path to the executable that will be used to launch Java.
getJavaExecutable(Path) - Static method in class Capsule
Finds the path to the executable that will be used to launch Java within the given javaHome.
getJavaHome() - Method in class Capsule
The path to the Java installation this capsule's app will use.
getJavaHomes() - Static method in class Capsule
Returns all found Java installations.
getListAttribute(String) - Method in class Capsule
Returns the value of the given attribute (with consideration to the capsule's mode) as a list.
getMapAttribute(String, String) - Method in class Capsule
Returns the value of the given attribute (with consideration to the capsule's mode) as a map.
getMode() - Method in class Capsule
This capsule's current mode.
getModeDescription(String) - Method in class Capsule
Returns the description of the given mode.
getModes() - Method in class Capsule
Returns the names of all modes defined in this capsule's manifest.
getNativeDependencies() - Method in class Capsule
Constructs this capsule's native dependency list.

H

hasAttribute(String) - Method in class Capsule
Tests whether the given attribute is found in the manifest.
hashCode() - Method in class Capsule
 

I

isAppCacheUpToDate() - Method in class Capsule
Tests if the app cache is up to date.
isEmptyCapsule() - Method in class Capsule
Tests if this is an empty capsule.
isLogging(int) - Method in class Capsule
Tests if the given log level is currently being logged
isMac() - Static method in class Capsule
Tests whether the current OS is MacOS.
isUnix() - Static method in class Capsule
Tests whether the current OS is UNIX/Linux.
isWindows() - Static method in class Capsule
Tests whether the current OS is Windows.

J

join(Collection<?>, String) - Static method in class Capsule
Joins a collections into a string, separating elements with the given separator string.

L

listDir(Path) - Static method in class Capsule
Returns the contents of a directory
log(int, String) - Method in class Capsule
Prints a message to stderr if the given log-level is being logged.
LOG_DEBUG - Static variable in class Capsule
 
LOG_NONE - Static variable in class Capsule
 
LOG_QUIET - Static variable in class Capsule
 
LOG_VERBOSE - Static variable in class Capsule
 

M

main(String[]) - Static method in class Capsule
Launches the capsule.
mapSplit(String, char, String, String) - Static method in class Capsule
Splits a string into a map
myCapsule() - Static method in class Capsule
Returns the singleton Capsule instance.

P

prelaunch(List<String>) - Method in class Capsule
Returns a configured ProcessBuilder that is later used to launch the capsule.

S

split(String, String) - Static method in class Capsule
Splits a string into a list using a regex separator

T

toString() - Method in class Capsule
 

V

VERSION - Static variable in class Capsule
 
B C E G H I J L M P S T V