T
- public abstract class ContainerBase<T extends Archive<T>> extends AssignableBase<Archive<?>> implements Archive<T>, ManifestContainer<T>, ServiceProviderContainer<T>, ResourceContainer<T>, ClassContainer<T>, LibraryContainer<T>, ArchiveFormatAssociable
DEFAULT_MANIFEST_NAME
Modifier | Constructor and Description |
---|---|
protected |
ContainerBase(Class<T> actualType,
Archive<?> archive) |
Modifier and Type | Method and Description |
---|---|
T |
add(Archive<?> archive,
ArchivePath path,
Class<? extends StreamExporter> exporter) |
T |
add(Archive<?> archive,
String path,
Class<? extends StreamExporter> exporter) |
T |
add(Asset asset,
ArchivePath target) |
T |
add(Asset asset,
ArchivePath path,
String name) |
T |
add(Asset asset,
String name) |
T |
add(Asset asset,
String target,
String name) |
T |
add(NamedAsset namedAsset) |
T |
addAsDirectories(ArchivePath... paths) |
T |
addAsDirectories(String... paths) |
T |
addAsDirectory(ArchivePath path) |
T |
addAsDirectory(String path) |
T |
addAsLibraries(Archive<?>... archives) |
T |
addAsLibraries(Archive<?>[]... archives) |
T |
addAsLibraries(Collection<? extends Archive<?>> archives) |
T |
addAsLibraries(File... resources) |
T |
addAsLibraries(String... resourceNames) |
T |
addAsLibrary(Archive<?> archive) |
T |
addAsLibrary(Asset resource,
ArchivePath target) |
T |
addAsLibrary(Asset resource,
String target) |
T |
addAsLibrary(File resource) |
T |
addAsLibrary(File resource,
ArchivePath target) |
T |
addAsLibrary(File resource,
String target) |
T |
addAsLibrary(String resourceName) |
T |
addAsLibrary(String resourceName,
ArchivePath target) |
T |
addAsLibrary(String resourceName,
String target) |
T |
addAsLibrary(URL resource,
ArchivePath target) |
T |
addAsLibrary(URL resource,
String target) |
T |
addAsManifestResource(Asset resource,
ArchivePath target) |
T |
addAsManifestResource(Asset resource,
String target) |
T |
addAsManifestResource(File resource) |
T |
addAsManifestResource(File resource,
ArchivePath target) |
T |
addAsManifestResource(File resource,
String target) |
T |
addAsManifestResource(Package resourcePackage,
String resourceName) |
T |
addAsManifestResource(Package resourcePackage,
String resourceName,
ArchivePath target) |
T |
addAsManifestResource(Package resourcePackage,
String resourceName,
String target) |
T |
addAsManifestResource(String resourceName) |
T |
addAsManifestResource(String resourceName,
ArchivePath target) |
T |
addAsManifestResource(String resourceName,
String target) |
T |
addAsManifestResource(URL resource,
ArchivePath target) |
T |
addAsManifestResource(URL resource,
String target) |
T |
addAsManifestResources(Package resourcePackage,
String... resourceNames) |
T |
addAsResource(Asset resource,
ArchivePath target) |
T |
addAsResource(Asset resource,
String target) |
T |
addAsResource(File resource) |
T |
addAsResource(File resource,
ArchivePath target) |
T |
addAsResource(File resource,
String target) |
T |
addAsResource(Package resourcePackage,
String resourceName) |
T |
addAsResource(Package resourcePackage,
String resourceName,
ArchivePath target) |
T |
addAsResource(Package resourcePackage,
String resourceName,
String target) |
T |
addAsResource(String resourceName) |
T |
addAsResource(String resourceName,
ArchivePath target) |
T |
addAsResource(String resourceName,
ArchivePath target,
ClassLoader classLoader) |
T |
addAsResource(String resourceName,
String target) |
T |
addAsResource(URL resource,
ArchivePath target) |
T |
addAsResource(URL resource,
String target) |
T |
addAsResources(Package resourcePackage,
String... resourceNames) |
T |
addAsServiceProvider(Class<?> serviceInterface,
Class<?>... serviceImpls) |
T |
addAsServiceProvider(String serviceInterface,
String... serviceImpls) |
T |
addAsServiceProviderAndClasses(Class<?> serviceInterface,
Class<?>... serviceImpls) |
T |
addClass(Class<?> clazz) |
T |
addClass(String fullyQualifiedClassName) |
T |
addClass(String fullyQualifiedClassName,
ClassLoader cl) |
T |
addClasses(Class<?>... classes) |
T |
addDefaultPackage() |
T |
addHandlers(ArchiveEventHandler... handlers) |
T |
addManifest() |
T |
addPackage(Package pack) |
T |
addPackage(String pack) |
T |
addPackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages) |
T |
addPackages(boolean recursive,
Filter<ArchivePath> filter,
String... packageNames) |
T |
addPackages(boolean recursive,
Package... packages) |
T |
addPackages(boolean recursive,
String... packages) |
boolean |
contains(ArchivePath path) |
boolean |
contains(String path) |
protected T |
covarientReturn() |
Node |
delete(ArchivePath path) |
Node |
delete(String archivePath) |
T |
deleteClass(Class<?> clazz) |
T |
deleteClass(String fullyQualifiedClassName) |
T |
deleteClasses(Class<?>... classes) |
T |
deleteDefaultPackage() |
T |
deletePackage(Package pack) |
T |
deletePackage(String pack) |
T |
deletePackages(boolean recursive,
Filter<ArchivePath> filter,
Package... packages) |
T |
deletePackages(boolean recursive,
Filter<ArchivePath> filter,
String... packages) |
T |
deletePackages(boolean recursive,
Package... packages) |
T |
deletePackages(boolean recursive,
String... packages) |
boolean |
equals(Object obj) |
Node |
get(ArchivePath path) |
Node |
get(String path) |
protected Class<T> |
getActualClass() |
ArchiveFormat |
getArchiveFormat() |
<X extends Archive<X>> |
getAsType(Class<X> type,
ArchivePath path) |
<X extends Archive<X>> |
getAsType(Class<X> type,
ArchivePath path,
ArchiveFormat archiveCompression) |
<X extends Archive<X>> |
getAsType(Class<X> type,
Filter<ArchivePath> filter) |
<X extends Archive<X>> |
getAsType(Class<X> type,
Filter<ArchivePath> filter,
ArchiveFormat archiveCompression) |
<X extends Archive<X>> |
getAsType(Class<X> type,
String path) |
<X extends Archive<X>> |
getAsType(Class<X> type,
String path,
ArchiveFormat archiveCompression) |
protected abstract ArchivePath |
getClassesPath()
Should be implemented to set the path for Class related resources.
|
Map<ArchivePath,Node> |
getContent() |
Map<ArchivePath,Node> |
getContent(Filter<ArchivePath> filter) |
String |
getId() |
protected abstract ArchivePath |
getLibraryPath()
Should be implemented to set the path for Library related resources.
|
protected abstract ArchivePath |
getManifestPath()
Should be implemented to set the path for Manifest related resources.
|
String |
getName() |
protected abstract ArchivePath |
getResourcePath()
Should be implemented to set the path for Resource related resources.
|
int |
hashCode() |
T |
merge(Archive<?> source) |
T |
merge(Archive<?> source,
ArchivePath path) |
T |
merge(Archive<?> source,
ArchivePath path,
Filter<ArchivePath> filter) |
T |
merge(Archive<?> source,
Filter<ArchivePath> filter) |
T |
merge(Archive<?> source,
String path) |
T |
merge(Archive<?> source,
String path,
Filter<ArchivePath> filter) |
T |
move(ArchivePath source,
ArchivePath target) |
T |
move(String source,
String target) |
T |
setManifest(Asset resource) |
T |
setManifest(File resource) |
T |
setManifest(Package resourcePackage,
String resourceName) |
T |
setManifest(String resourceName) |
T |
setManifest(URL resource) |
Archive<T> |
shallowCopy() |
String |
toString() |
String |
toString(boolean verbose) |
String |
toString(Formatter formatter) |
void |
writeTo(OutputStream outputStream,
Formatter formatter) |
as, getArchive
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
as
public ArchiveFormat getArchiveFormat()
getArchiveFormat
in interface ArchiveFormatAssociable
public T add(Archive<?> archive, String path, Class<? extends StreamExporter> exporter)
public T add(Archive<?> archive, ArchivePath path, Class<? extends StreamExporter> exporter)
public T add(Asset asset, ArchivePath target) throws IllegalArgumentException
add
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.add(org.jboss.shrinkwrap.api.asset.Asset,
org.jboss.shrinkwrap.api.ArchivePath)
public T add(Asset asset, ArchivePath path, String name)
public T add(Asset asset, String target, String name) throws IllegalArgumentException
add
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.add(org.jboss.shrinkwrap.api.asset.Asset, java.lang.String,
java.lang.String)
public T add(NamedAsset namedAsset)
public T addAsDirectories(ArchivePath... paths) throws IllegalArgumentException
addAsDirectories
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.addAsDirectories(org.jboss.shrinkwrap.api.ArchivePath[])
public T addAsDirectories(String... paths) throws IllegalArgumentException
addAsDirectories
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.addAsDirectories(java.lang.String[])
public T addAsDirectory(ArchivePath path) throws IllegalArgumentException
addAsDirectory
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.addAsDirectory(org.jboss.shrinkwrap.api.ArchivePath)
public T addAsDirectory(String path) throws IllegalArgumentException
addAsDirectory
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.addAsDirectory(java.lang.String)
public T addHandlers(ArchiveEventHandler... handlers)
addHandlers
in interface Archive<T extends Archive<T>>
org.jboss.shrinkwrap.api.Archive#addHandlers(org.jboss.shrinkwrap.api.Filter,
org.jboss.shrinkwrap.api.ArchiveEventHandler)
public T merge(Archive<?> source) throws IllegalArgumentException
merge
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.merge(org.jboss.shrinkwrap.api.Archive)
public T merge(Archive<?> source, Filter<ArchivePath> filter) throws IllegalArgumentException
merge
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.merge(org.jboss.shrinkwrap.api.Archive, org.jboss.shrinkwrap.api.Filter)
public T merge(Archive<?> source, ArchivePath path) throws IllegalArgumentException
merge
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.merge(org.jboss.shrinkwrap.api.Archive,
org.jboss.shrinkwrap.api.ArchivePath)
public T merge(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter) throws IllegalArgumentException
merge
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.merge(org.jboss.shrinkwrap.api.Archive,
org.jboss.shrinkwrap.api.ArchivePath, org.jboss.shrinkwrap.api.Filter)
public T merge(Archive<?> source, String path, Filter<ArchivePath> filter) throws IllegalArgumentException
merge
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.merge(org.jboss.shrinkwrap.api.Archive, java.lang.String,
org.jboss.shrinkwrap.api.Filter)
public T merge(Archive<?> source, String path) throws IllegalArgumentException
merge
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.merge(org.jboss.shrinkwrap.api.Archive, java.lang.String)
public T move(ArchivePath source, ArchivePath target) throws IllegalArgumentException, IllegalArchivePathException
move
in interface Archive<T extends Archive<T>>
IllegalArgumentException
IllegalArchivePathException
Archive.move(org.jboss.shrinkwrap.api.ArchivePath,
org.jboss.shrinkwrap.api.ArchivePath)
public T move(String source, String target) throws IllegalArgumentException, IllegalArchivePathException
move
in interface Archive<T extends Archive<T>>
IllegalArgumentException
IllegalArchivePathException
Archive.move(java.lang.String, java.lang.String)
public boolean contains(ArchivePath path)
public boolean contains(String path) throws IllegalArgumentException
contains
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.contains(java.lang.String)
public Node delete(ArchivePath path)
public Node get(ArchivePath path)
public Node get(String path) throws IllegalArgumentException
get
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.get(java.lang.String)
public <X extends Archive<X>> X getAsType(Class<X> type, ArchivePath path)
public <X extends Archive<X>> Collection<X> getAsType(Class<X> type, Filter<ArchivePath> filter)
public <X extends Archive<X>> X getAsType(Class<X> type, String path, ArchiveFormat archiveCompression)
public <X extends Archive<X>> X getAsType(Class<X> type, ArchivePath path, ArchiveFormat archiveCompression)
public <X extends Archive<X>> Collection<X> getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveCompression)
public Map<ArchivePath,Node> getContent()
getContent
in interface Archive<T extends Archive<T>>
Archive.getContent()
public Map<ArchivePath,Node> getContent(Filter<ArchivePath> filter)
getContent
in interface Archive<T extends Archive<T>>
Archive.getContent(org.jboss.shrinkwrap.api.Filter)
public String getName()
public String getId()
public Archive<T> shallowCopy()
shallowCopy
in interface Archive<T extends Archive<T>>
Archive.shallowCopy()
public String toString()
public String toString(boolean verbose)
public String toString(Formatter formatter) throws IllegalArgumentException
toString
in interface Archive<T extends Archive<T>>
IllegalArgumentException
Archive.toString(org.jboss.shrinkwrap.api.formatter.Formatter)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
protected abstract ArchivePath getManifestPath()
public final T setManifest(String resourceName)
setManifest
in interface ManifestContainer<T extends Archive<T>>
ManifestContainer.setManifest(java.lang.String)
public T setManifest(File resource) throws IllegalArgumentException
setManifest
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
ManifestContainer.setManifest(java.io.File)
public T setManifest(URL resource) throws IllegalArgumentException
setManifest
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
ManifestContainer.setManifest(java.net.URL)
public T setManifest(Asset resource) throws IllegalArgumentException
setManifest
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
ManifestContainer.setManifest(org.jboss.shrinkwrap.api.asset.Asset)
public T setManifest(Package resourcePackage, String resourceName) throws IllegalArgumentException
setManifest
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
ManifestContainer.setManifest(java.lang.Package, java.lang.String)
public final T addAsManifestResource(String resourceName)
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
ManifestContainer.addAsManifestResource(java.lang.String)
public T addAsManifestResource(File resource) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
ManifestContainer.addAsManifestResource(java.io.File)
public T addAsManifestResource(String resourceName, String target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
ManifestContainer.addAsManifestResource(java.lang.String,
java.lang.String)
public T addAsManifestResource(File resource, String target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
ManifestContainer.addAsManifestResource(java.io.File, java.lang.String)
public T addAsManifestResource(URL resource, String target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsManifestResource(Asset resource, String target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsManifestResource(String resourceName, ArchivePath target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsManifestResource(File resource, ArchivePath target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsManifestResource(URL resource, ArchivePath target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsManifestResource(Asset resource, ArchivePath target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsManifestResources(Package resourcePackage, String... resourceNames) throws IllegalArgumentException
addAsManifestResources
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsManifestResource(Package resourcePackage, String resourceName) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsManifestResource(Package resourcePackage, String resourceName, String target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsManifestResource(Package resourcePackage, String resourceName, ArchivePath target) throws IllegalArgumentException
addAsManifestResource
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addManifest() throws IllegalArgumentException
addManifest
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsServiceProvider(Class<?> serviceInterface, Class<?>... serviceImpls) throws IllegalArgumentException
addAsServiceProvider
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsServiceProvider(String serviceInterface, String... serviceImpls) throws IllegalArgumentException
addAsServiceProvider
in interface ManifestContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsServiceProviderAndClasses(Class<?> serviceInterface, Class<?>... serviceImpls) throws IllegalArgumentException
addAsServiceProviderAndClasses
in interface ServiceProviderContainer<T extends Archive<T>>
IllegalArgumentException
protected abstract ArchivePath getResourcePath()
public final T addAsResource(String resourceName) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public final T addAsResource(File resource) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public final T addAsResource(String resourceName, String target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(File resource, String target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(URL resource, String target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(Asset resource, String target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(String resourceName, ArchivePath target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(String resourceName, ArchivePath target, ClassLoader classLoader) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(File resource, ArchivePath target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(URL resource, ArchivePath target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(Asset resource, ArchivePath target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResources(Package resourcePackage, String... resourceNames) throws IllegalArgumentException
addAsResources
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(Package resourcePackage, String resourceName) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(Package resourcePackage, String resourceName, String target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsResource(Package resourcePackage, String resourceName, ArchivePath target) throws IllegalArgumentException
addAsResource
in interface ResourceContainer<T extends Archive<T>>
IllegalArgumentException
protected abstract ArchivePath getClassesPath()
public T addClass(Class<?> clazz) throws IllegalArgumentException
addClass
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T addClass(String fullyQualifiedClassName) throws IllegalArgumentException
addClass
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
ClassContainer.addClass(java.lang.String)
public T addClass(String fullyQualifiedClassName, ClassLoader cl) throws IllegalArgumentException
addClass
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
ClassContainer.addClass(java.lang.String, java.lang.ClassLoader)
public T addClasses(Class<?>... classes) throws IllegalArgumentException
addClasses
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T addPackage(Package pack) throws IllegalArgumentException
addPackage
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T addPackages(boolean recursive, Package... packages) throws IllegalArgumentException
addPackages
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T addPackages(boolean recursive, Filter<ArchivePath> filter, Package... packages) throws IllegalArgumentException
addPackages
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T addPackage(String pack) throws IllegalArgumentException
addPackage
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T addDefaultPackage()
addDefaultPackage
in interface ClassContainer<T extends Archive<T>>
public T addPackages(boolean recursive, String... packages) throws IllegalArgumentException
addPackages
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T addPackages(boolean recursive, Filter<ArchivePath> filter, String... packageNames) throws IllegalArgumentException
addPackages
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T deleteClass(Class<?> clazz) throws IllegalArgumentException
deleteClass
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T deleteClass(String fullyQualifiedClassName) throws IllegalArgumentException
deleteClass
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T deleteClasses(Class<?>... classes) throws IllegalArgumentException
deleteClasses
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T deletePackage(Package pack) throws IllegalArgumentException
deletePackage
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T deletePackage(String pack) throws IllegalArgumentException
deletePackage
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T deleteDefaultPackage()
deleteDefaultPackage
in interface ClassContainer<T extends Archive<T>>
public T deletePackages(boolean recursive, Package... packages) throws IllegalArgumentException
deletePackages
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T deletePackages(boolean recursive, String... packages) throws IllegalArgumentException
deletePackages
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T deletePackages(boolean recursive, Filter<ArchivePath> filter, Package... packages) throws IllegalArgumentException
deletePackages
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
public T deletePackages(boolean recursive, Filter<ArchivePath> filter, String... packages) throws IllegalArgumentException
deletePackages
in interface ClassContainer<T extends Archive<T>>
IllegalArgumentException
protected abstract ArchivePath getLibraryPath()
public T addAsLibrary(Archive<?> archive) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
LibraryContainer.addAsLibrary(org.jboss.shrinkwrap.api.Archive)
public T addAsLibrary(String resourceName) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
LibraryContainer.addAsLibrary(java.lang.String)
public T addAsLibrary(File resource) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
LibraryContainer.addAsLibrary(java.io.File)
public T addAsLibrary(String resourceName, String target) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
LibraryContainer.addAsLibrary(java.lang.String, java.lang.String)
public T addAsLibrary(File resource, String target) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
LibraryContainer.addAsLibrary(java.io.File, java.lang.String)
public T addAsLibrary(URL resource, String target) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsLibrary(Asset resource, String target) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsLibrary(String resourceName, ArchivePath target) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsLibrary(File resource, ArchivePath target) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsLibrary(URL resource, ArchivePath target) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsLibrary(Asset resource, ArchivePath target) throws IllegalArgumentException
addAsLibrary
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsLibraries(String... resourceNames) throws IllegalArgumentException
addAsLibraries
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsLibraries(File... resources) throws IllegalArgumentException
addAsLibraries
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsLibraries(Archive<?>... archives) throws IllegalArgumentException
addAsLibraries
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsLibraries(Collection<? extends Archive<?>> archives) throws IllegalArgumentException
addAsLibraries
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
LibraryContainer.addAsLibraries(java.util.Collection)
public T addAsLibraries(Archive<?>[]... archives) throws IllegalArgumentException
addAsLibraries
in interface LibraryContainer<T extends Archive<T>>
IllegalArgumentException
LibraryContainer.addAsLibraries(java.util.Collection)
public void writeTo(OutputStream outputStream, Formatter formatter) throws IllegalArgumentException
protected T covarientReturn()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.