public class Archive
extends java.lang.Object
Constructor and Description |
---|
Archive() |
Modifier and Type | Method and Description |
---|---|
Archive |
add(java.lang.Class<?> clazz) |
Archive |
addTo(java.lang.String path,
java.lang.Class<?> clazz) |
static Archive |
archive() |
java.io.File |
asDir() |
java.io.File |
asJar() |
java.io.File |
asJar(java.lang.String prefix,
java.lang.String suffix) |
Archive |
copyTo(java.lang.String path,
java.io.File file) |
Archive |
manifest(java.lang.String key,
java.lang.Class value) |
Archive |
manifest(java.lang.String key,
java.lang.Object value) |
java.io.File |
toDir() |
java.io.File |
toJar() |
java.io.File |
toJar(java.lang.String prefix,
java.lang.String suffix) |
public static Archive archive()
public Archive manifest(java.lang.String key, java.lang.Object value)
public Archive manifest(java.lang.String key, java.lang.Class value)
public Archive copyTo(java.lang.String path, java.io.File file)
public Archive addTo(java.lang.String path, java.lang.Class<?> clazz)
public Archive add(java.lang.Class<?> clazz)
public java.io.File toJar() throws java.io.IOException
java.io.IOException
public java.io.File toJar(java.lang.String prefix, java.lang.String suffix) throws java.io.IOException
java.io.IOException
public java.io.File asJar()
public java.io.File asJar(java.lang.String prefix, java.lang.String suffix)
public java.io.File toDir() throws java.io.IOException
java.io.IOException
public java.io.File asDir()