| Modifier and Type | Method and Description |
|---|---|
JarBuilder |
JarBuilder.add(com.google.common.io.ByteSource contents,
java.lang.String jarPath)
Schedules addition of the given
contents to the entry at jarPath. |
JarBuilder |
JarBuilder.addDirectory(java.io.File directory,
com.google.common.base.Optional<java.lang.String> jarPath)
Schedules recursive addition of all files contained within
directory to the resulting
jar. |
JarBuilder |
JarBuilder.addFile(java.io.File file,
java.lang.String jarPath)
Schedules addition of the given
file's contents to the entry at jarPath. |
JarBuilder |
JarBuilder.addJar(java.io.File file)
Schedules addition of the given jar's contents to the file at
jarPath. |
JarBuilder |
JarBuilder.useCustomManifest(java.lang.CharSequence customManifest)
Registers the given Manifest to be used in the jar written out by
write(). |
JarBuilder |
JarBuilder.useCustomManifest(java.io.File customManifest)
Registers the given Manifest to be used in the jar written out by
write(). |
JarBuilder |
JarBuilder.useCustomManifest(org.pantsbuild.tools.jar.JarBuilder.NamedByteSource customManifest)
Registers the given Manifest to be used in the jar written out by
write(). |
JarBuilder |
JarBuilder.useCustomManifest(java.util.jar.Manifest customManifest)
Registers the given Manifest to be used in the jar written out by
write(). |