public class Archive extends Object
| Constructor and Description |
|---|
Archive() |
| Modifier and Type | Method and Description |
|---|---|
Archive |
add(Class<?> clazz) |
Archive |
addTo(String path,
Class<?> clazz) |
static Archive |
archive() |
File |
asDir() |
File |
asJar() |
File |
asJar(String prefix,
String suffix) |
Archive |
copyTo(String path,
File file) |
Archive |
manifest(String key,
Class value) |
Archive |
manifest(String key,
Object value) |
File |
toDir() |
File |
toJar() |
File |
toJar(String prefix,
String suffix) |
public static Archive archive()
public File toJar() throws IOException
IOExceptionpublic File toJar(String prefix, String suffix) throws IOException
IOExceptionpublic File asJar()
public File toDir() throws IOException
IOExceptionpublic File asDir()
Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.