Package | Description |
---|---|
org.jboss.shrinkwrap.api | |
org.jboss.shrinkwrap.api.asset | |
org.jboss.shrinkwrap.api.exporter |
Modifier and Type | Method and Description |
---|---|
T |
Archive.add(Archive<?> archive,
ArchivePath path,
Class<? extends StreamExporter> exporter)
Add an archive under a specific context and maintain the archive name as context path.
|
T |
Archive.add(Archive<?> archive,
String path,
Class<? extends StreamExporter> exporter)
Add an archive under a specific context and maintain the archive name as context path.
|
Constructor and Description |
---|
ArchiveAsset(Archive<?> archive,
Class<? extends StreamExporter> exporter)
Creates a new instance wrapping the specified
Archive , which will use the specified
StreamExporter to represent the archive as an InputStream in Asset.openStream() . |
Modifier and Type | Interface and Description |
---|---|
interface |
TarExporter
Exporter used to represent an
Assignable in TAR format |
interface |
TarGzExporter
Exporter used to represent an
Assignable in TAR format encoded w/ GZIP compression |
interface |
ZipExporter
Exporter used to represent an
Assignable in ZIP format. |
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.