Skip navigation links
A B C D G I J M P R S T V W 

A

addEntry(String, InputStream) - Method in class capsule.Jar
Adds an entry to this JAR.
addEntry(Path, InputStream) - Method in class capsule.Jar
Adds an entry to this JAR.
addEntry(Path, Path) - Method in class capsule.Jar
Adds an entry to this JAR.
addEntry(Path, String) - Method in class capsule.Jar
Adds an entry to this JAR.
addEntry(String, File) - Method in class capsule.Jar
Adds an entry to this JAR.
addEntry(String, String) - Method in class capsule.Jar
Adds an entry to this JAR.
artifactDeployed(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
artifactDeploying(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
artifactDescriptorInvalid(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
artifactDescriptorMissing(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
artifactDownloaded(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
artifactDownloading(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
artifactInstalled(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
artifactInstalling(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
artifactResolved(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
artifactResolving(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 

B

buildArgs(String[]) - Method in class Capsule
Returns a list of command line arguments to pass to the application.
buildJVMArgs(List<String>) - Method in class Capsule
Returns a list of JVM arguments.
buildSystemProperties(List<String>) - Method in class Capsule
Returns a map of system properties (property-value pairs).

C

capsule - package capsule
 
Capsule - Class in <Unnamed>
 
Capsule(JarFile, String[]) - Constructor for class Capsule
 
ConsoleDependencyGraphDumper - Class in capsule
A dependency visitor that dumps the graph to the console.
ConsoleDependencyGraphDumper(PrintStream) - Constructor for class capsule.ConsoleDependencyGraphDumper
 
ConsoleRepositoryListener - Class in capsule
 
ConsoleRepositoryListener(boolean, PrintStream) - Constructor for class capsule.ConsoleRepositoryListener
 
ConsoleTransferListener - Class in capsule
A simplistic transfer listener that logs uploads/downloads to the console.
ConsoleTransferListener(PrintStream) - Constructor for class capsule.ConsoleTransferListener
 

D

DependencyManager - Class in capsule
 
DependencyManager(Path, List<String>, boolean, boolean) - Constructor for class capsule.DependencyManager
 

G

getArtifactId() - Method in class capsule.PomReader
 
getAttribute(String) - Method in class capsule.Jar
Returns an attribute's value from this JAR's manifest's main section.
getAttribute(String, String) - Method in class capsule.Jar
Returns an attribute's value from a non-main section of this JAR's manifest.
getDependencies() - Method in class Capsule
Returns a list of dependencies, each in the format groupId:artifactId:version[:classifier] (classifier is optional)
getDependencies() - Method in class capsule.PomReader
 
getGroupId() - Method in class capsule.PomReader
 
getId() - Method in class capsule.PomReader
 
getLatestVersion(String) - Method in class capsule.DependencyManager
 
getListAttribute(String) - Method in class capsule.Jar
Returns an attribute's list value from this JAR's manifest's main section.
getListAttribute(String, String) - Method in class capsule.Jar
Returns an attribute's list value from a non-main section of this JAR's manifest.
getManifest() - Method in class capsule.Jar
Returns the manifest of this JAR.
getNativeDependenciesAndRename() - Method in class Capsule
Returns a list of dependencies, each in the format groupId:artifactId:version[:classifier][,renameTo] (classifier and renameTo are optional)
getRepositories() - Method in class capsule.PomReader
 
getVersion() - Method in class capsule.PomReader
 

I

isLinux() - Static method in class Capsule
 
isMac() - Static method in class Capsule
 
isWindows() - Static method in class Capsule
 

J

Jar - Class in capsule
A JAR file that can be easily modified.
Jar() - Constructor for class capsule.Jar
Creates a new, empty, JAR
Jar(InputStream) - Constructor for class capsule.Jar
Reads in the JAR from the given InputStream.
Jar(JarFile) - Constructor for class capsule.Jar
Reads in the JAR from the given JarFile.
Jar(Path) - Constructor for class capsule.Jar
Reads in the JAR from the given Path.
Jar(File) - Constructor for class capsule.Jar
Reads in the JAR from the given File.
Jar(String) - Constructor for class capsule.Jar
Reads in the JAR from the given path.

M

main(String[]) - Static method in class Capsule
Launches the application
metadataDeployed(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
metadataDeploying(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
metadataInstalled(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
metadataInstalling(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
metadataInvalid(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
metadataResolved(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 
metadataResolving(RepositoryEvent) - Method in class capsule.ConsoleRepositoryListener
 

P

PomReader - Class in capsule
 
PomReader(InputStream) - Constructor for class capsule.PomReader
 
printDependencyTree(List<String>, String) - Method in class capsule.DependencyManager
 
printDependencyTree(String) - Method in class capsule.DependencyManager
 

R

resolveDependencies(List<String>, String) - Method in class capsule.DependencyManager
 
resolveDependency(String, String) - Method in class capsule.DependencyManager
 
resolveRoot(String) - Method in class capsule.DependencyManager
 
run() - Method in class Capsule
 

S

setAttribute(String, String) - Method in class capsule.Jar
Sets an attribute in the main section of the manifest.
setAttribute(String, String, String) - Method in class capsule.Jar
 
setListAttribute(String, List<String>) - Method in class capsule.Jar
Sets an attribute in the main section of the manifest to a list.
setListAttribute(String, String, List<String>) - Method in class capsule.Jar
Sets an attribute in a non-main section of the manifest to a list.
stripNativeDependencies(List<String>) - Method in class Capsule
 

T

toInputStream(String, Charset) - Static method in class capsule.Jar
Turns a String into an InputStream containing the string's encoded characters.
toKB(long) - Method in class capsule.ConsoleTransferListener
 
transferCorrupted(TransferEvent) - Method in class capsule.ConsoleTransferListener
 
transferFailed(TransferEvent) - Method in class capsule.ConsoleTransferListener
 
transferInitiated(TransferEvent) - Method in class capsule.ConsoleTransferListener
 
transferProgressed(TransferEvent) - Method in class capsule.ConsoleTransferListener
 
transferSucceeded(TransferEvent) - Method in class capsule.ConsoleTransferListener
 

V

visitEnter(DependencyNode) - Method in class capsule.ConsoleDependencyGraphDumper
 
visitLeave(DependencyNode) - Method in class capsule.ConsoleDependencyGraphDumper
 

W

write(T) - Method in class capsule.Jar
Writes this JAR to an output stream.
write(File) - Method in class capsule.Jar
Writes this JAR to a file.
write(Path) - Method in class capsule.Jar
Writes this JAR to a file.
write(String) - Method in class capsule.Jar
Writes this JAR to a file.
A B C D G I J M P R S T V W 
Skip navigation links