Uses of Interface
org.jboss.shrinkwrap.api.ArchivePath
-
-
Uses of ArchivePath in org.jboss.shrinkwrap.api
Methods in org.jboss.shrinkwrap.api that return ArchivePath Modifier and Type Method Description static ArchivePath
ArchivePaths. create(String context)
Creates a newArchivePath
with the specified contextstatic ArchivePath
ArchivePaths. create(String basePath, String context)
Creates a newArchivePath
using the specified base and specified relative context.static ArchivePath
ArchivePaths. create(String basePath, ArchivePath context)
Creates a newArchivePath
using the specified base and specified relative context.static ArchivePath
ArchivePaths. create(ArchivePath basePath, String context)
Creates a newArchivePath
using the specified base and specified relative context.static ArchivePath
ArchivePaths. create(ArchivePath basePath, ArchivePath context)
Creates a newArchivePath
using the specified base and specified relative context.ArchivePath
ArchivePath. getParent()
Obtains the parent of this Path, if exists, else null.ArchivePath
ArchiveEvent. getPath()
ArchivePath
Node. getPath()
static ArchivePath
ArchivePaths. root()
Creates a newArchivePath
representing the root path (/).Methods in org.jboss.shrinkwrap.api that return types with arguments of type ArchivePath Modifier and Type Method Description static Filter<ArchivePath>
Filters. exclude(Class<?>... classes)
static Filter<ArchivePath>
Filters. exclude(Package... packages)
static Filter<ArchivePath>
Filters. exclude(String regexp)
static Filter<ArchivePath>
Filters. excludePaths(String... paths)
Filter
that exclude allArchivePath
s that match the given List of paths.static Filter<ArchivePath>
Filters. excludePaths(Collection<String> paths)
Filter
that exclude allArchivePath
s that match the given List of paths.Map<ArchivePath,Node>
Archive. getContent()
Obtains all assets in this archive, along with their respective paths.Map<ArchivePath,Node>
Archive. getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.static Filter<ArchivePath>
Filters. include(Class<?>... classes)
static Filter<ArchivePath>
Filters. include(Package... packages)
static Filter<ArchivePath>
Filters. include(String regexp)
static Filter<ArchivePath>
Filters. includeAll()
Filter
that includes allArchivePath
s.static Filter<ArchivePath>
Filters. includePaths(String... paths)
Filer
that include allArchivePath
s that match the given List of paths..static Filter<ArchivePath>
Filters. includePaths(Collection<String> paths)
Filer
that include allArchivePath
s that match the given List of paths..Methods in org.jboss.shrinkwrap.api with parameters of type ArchivePath Modifier and Type Method 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(Asset asset, ArchivePath target)
Adds the specified asset under the specified path into the target contextT
Archive. add(Asset asset, ArchivePath target, String name)
Adds the specified asset under the specified target (directory) using the specified name.T
Archive. addAsDirectories(ArchivePath... paths)
Adds the specified directories.T
Archive. addAsDirectory(ArchivePath path)
Adds the specified directory.boolean
Archive. contains(ArchivePath path)
Denotes whether this archive contains a resource at the specified pathstatic ArchivePath
ArchivePaths. create(String basePath, ArchivePath context)
Creates a newArchivePath
using the specified base and specified relative context.static ArchivePath
ArchivePaths. create(ArchivePath basePath, String context)
Creates a newArchivePath
using the specified base and specified relative context.static ArchivePath
ArchivePaths. create(ArchivePath basePath, ArchivePath context)
Creates a newArchivePath
using the specified base and specified relative context.Node
Archive. delete(ArchivePath path)
Node
Archive. get(ArchivePath path)
Obtains theNode
located at the specified path<X extends Archive<X>>
XArchive. getAsType(Class<X> type, ArchivePath path)
Get a nestedArchive
as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XArchive. getAsType(Class<X> type, ArchivePath path, ArchiveFormat archiveFormat)
T
Archive. merge(Archive<?> source, ArchivePath path)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
Archive. merge(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
Archive. move(ArchivePath source, ArchivePath target)
Moves the asset under the source path to the target path.Method parameters in org.jboss.shrinkwrap.api with type arguments of type ArchivePath Modifier and Type Method Description T
Archive. filter(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive as a new Archive.
This is an alias for shallowCopy(Filter).<X extends Archive<X>>
Collection<X>Archive. getAsType(Class<X> type, Filter<ArchivePath> filter)
Get all nestedArchive
matching the filter as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
Collection<X>Archive. getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat)
Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.Map<ArchivePath,Node>
Archive. getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.T
Archive. merge(Archive<?> source, String path, Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
Archive. merge(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
Archive. merge(Archive<?> source, Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path.Archive<T>
Archive. shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of thisArchive
based on given filter.Assets from this archive are made available under the same paths.Constructors in org.jboss.shrinkwrap.api with parameters of type ArchivePath Constructor Description ArchiveEvent(ArchivePath path, Asset asset)
-
Uses of ArchivePath in org.jboss.shrinkwrap.api.container
Methods in org.jboss.shrinkwrap.api.container with parameters of type ArchivePath Modifier and Type Method Description T
EnterpriseContainer. addAsApplicationResource(File resource, ArchivePath target)
T
EnterpriseContainer. addAsApplicationResource(Package resourcePackage, String resourceName, ArchivePath target)
Adds the resource as a resource to a specific path inside the container, returning the container itself.T
EnterpriseContainer. addAsApplicationResource(String resourceName, ArchivePath target)
Adds a resource to thisArchive
s application context.T
EnterpriseContainer. addAsApplicationResource(URL resource, ArchivePath target)
T
EnterpriseContainer. addAsApplicationResource(Asset resource, ArchivePath target)
T
LibraryContainer. addAsLibrary(File resource, ArchivePath target)
Adds theFile
as a library to the container, returning the container itself.T
LibraryContainer. addAsLibrary(String resourceName, ArchivePath target)
Adds the resource as a library to the container, returning the container itself.T
LibraryContainer. addAsLibrary(URL resource, ArchivePath target)
Adds theURL
as a library to the container, returning the container itself.T
LibraryContainer. addAsLibrary(Asset resource, ArchivePath target)
Adds theAsset
as a library to the container, returning the container itself.T
ManifestContainer. addAsManifestResource(File resource, ArchivePath target)
Adds theFile
as a Manifest resource to the container, returning the container itself.T
ManifestContainer. addAsManifestResource(Package resourcePackage, String resourceName, ArchivePath target)
Adds the resource as a resource to a specific path inside the container, returning the container itself.T
ManifestContainer. addAsManifestResource(String resourceName, ArchivePath target)
Adds the resource as a Manifest resource to the container, returning the container itself.T
ManifestContainer. addAsManifestResource(URL resource, ArchivePath target)
Adds theURL
as a Manifest resource to the container, returning the container itself.T
ManifestContainer. addAsManifestResource(Asset resource, ArchivePath target)
Adds theAsset
as a Manifest resource to the container, returning the container itself.T
EnterpriseContainer. addAsModule(File resource, ArchivePath targetPath)
T
EnterpriseContainer. addAsModule(String resourceName, ArchivePath targetPath)
Adds a resource to thisArchive
s module context.T
EnterpriseContainer. addAsModule(URL resource, ArchivePath targetPath)
T
EnterpriseContainer. addAsModule(Asset resource, ArchivePath targetPath)
T
ResourceContainer. addAsResource(File resource, ArchivePath target)
Adds theFile
as a resource to the container, returning the container itself.T
ResourceContainer. addAsResource(Package resourcePackage, String resourceName, ArchivePath target)
Adds the resource as a resource to a specific path inside the container, returning the container itself.T
ResourceContainer. addAsResource(String resourceName, ArchivePath target)
Adds the resource with the specified name to the container, returning the container itself.T
ResourceContainer. addAsResource(String resourceName, ArchivePath target, ClassLoader classLoader)
Adds the resource as a resource to the container, returning the container itself.T
ResourceContainer. addAsResource(URL resource, ArchivePath target)
Adds theURL
as a resource to the container, returning the container itself.T
ResourceContainer. addAsResource(Asset resource, ArchivePath target)
Adds theAsset
as a resource to the container, returning the container itself.T
WebContainer. addAsWebInfResource(File resource, ArchivePath target)
Adds theFile
as a WEB-INF resource to the container, returning the container itself.T
WebContainer. addAsWebInfResource(Package resourcePackage, String resourceName, ArchivePath target)
Adds the resource as a WEB-INF resource to a specific path inside the container, returning the container itself.T
WebContainer. addAsWebInfResource(String resourceName, ArchivePath target)
Adds the resource as a WEB-INF resource to the container, returning the container itself.T
WebContainer. addAsWebInfResource(URL resource, ArchivePath target)
Adds theURL
as a WEB-INF resource to the container, returning the container itself.T
WebContainer. addAsWebInfResource(Asset resource, ArchivePath target)
Adds theAsset
as a WEB-INF resource to the container, returning the container itself.T
WebContainer. addAsWebResource(File resource, ArchivePath target)
Adds theFile
as a Web resource to the container, returning the container itself.T
WebContainer. addAsWebResource(Package resourcePackage, String resourceName, ArchivePath target)
Adds the resource as a resource to a specific path inside the container, returning the container itself.T
WebContainer. addAsWebResource(String resourceName, ArchivePath target)
Adds the resource as a Web resource to the container, returning the container itself.T
WebContainer. addAsWebResource(URL resource, ArchivePath target)
Adds theURL
as a Web resource to the container, returning the container itself.T
WebContainer. addAsWebResource(Asset resource, ArchivePath target)
Adds theAsset
as a Web resource to the container, returning the container itself.Method parameters in org.jboss.shrinkwrap.api.container with type arguments of type ArchivePath Modifier and Type Method Description T
ClassContainer. addPackages(boolean recursive, Filter<ArchivePath> filter, Package... packages)
T
ClassContainer. addPackages(boolean recursive, Filter<ArchivePath> filter, String... packages)
T
ClassContainer. deletePackages(boolean recursive, Filter<ArchivePath> filter, Package... packages)
T
ClassContainer. deletePackages(boolean recursive, Filter<ArchivePath> filter, String... packages)
-
Uses of ArchivePath in org.jboss.shrinkwrap.api.importer
Method parameters in org.jboss.shrinkwrap.api.importer with type arguments of type ArchivePath Modifier and Type Method Description ExplodedImporter
ExplodedImporter. importDirectory(File file, Filter<ArchivePath> filter)
Import a directory structure as a archive.ExplodedImporter
ExplodedImporter. importDirectory(String fileName, Filter<ArchivePath> filter)
Import a directory structure as a archive.I
StreamImporter. importFrom(File file, Filter<ArchivePath> filter)
Imports provided File as aArchive
.I
StreamImporter. importFrom(InputStream stream, Filter<ArchivePath> filter)
Imports provided stream as aArchive
. -
Uses of ArchivePath in org.jboss.shrinkwrap.api.nio.file
Constructors in org.jboss.shrinkwrap.api.nio.file with parameters of type ArchivePath Constructor Description MemoryNamedAsset(ArchivePath path)
-
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base
Methods in org.jboss.shrinkwrap.impl.base that return ArchivePath Modifier and Type Method Description protected ArchivePath
GenericArchiveImpl. getClassesPath()
Should be implemented to set the path for Class related resources.protected ArchivePath
GenericArchiveImpl. getLibraryPath()
Should be implemented to set the path for Library related resources.protected ArchivePath
GenericArchiveImpl. getManifestPath()
Should be implemented to set the path for Manifest related resources.ArchivePath
NodeImpl. getPath()
protected ArchivePath
GenericArchiveImpl. getResourcePath()
Should be implemented to set the path for Resource related resources.Methods in org.jboss.shrinkwrap.impl.base that return types with arguments of type ArchivePath Modifier and Type Method Description Map<ArchivePath,Node>
MemoryMapArchiveBase. getContent()
Obtains all assets in this archive, along with their respective paths.Map<ArchivePath,Node>
MemoryMapArchiveBase. getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.Methods in org.jboss.shrinkwrap.impl.base with parameters of type ArchivePath Modifier and Type Method Description T
ArchiveBase. 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
ArchiveBase. add(Asset asset, ArchivePath path, String name)
Adds the specified asset under the specified target (directory) using the specified name.T
MemoryMapArchiveBase. 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
MemoryMapArchiveBase. add(Asset asset, ArchivePath path)
Adds the specified asset under the specified path into the target contextT
ArchiveBase. addAsDirectories(ArchivePath... paths)
Adds the specified directories.T
MemoryMapArchiveBase. addAsDirectory(ArchivePath path)
Adds the specified directory.boolean
MemoryMapArchiveBase. contains(ArchivePath path)
Denotes whether this archive contains a resource at the specified pathNode
MemoryMapArchiveBase. delete(ArchivePath path)
Node
MemoryMapArchiveBase. get(ArchivePath path)
Obtains theNode
located at the specified path<X extends Archive<X>>
XArchiveBase. getAsType(Class<X> type, ArchivePath path)
Get a nestedArchive
as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XArchiveBase. getAsType(Class<X> type, ArchivePath path, ArchiveFormat archiveFormat)
T
ArchiveBase. merge(Archive<?> source, ArchivePath path)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
ArchiveBase. merge(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
ArchiveBase. move(ArchivePath source, ArchivePath target)
Moves the asset under the source path to the target path.Method parameters in org.jboss.shrinkwrap.impl.base with type arguments of type ArchivePath Modifier and Type Method Description T
ArchiveBase. filter(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive as a new Archive.
This is an alias for shallowCopy(Filter).<X extends Archive<X>>
Collection<X>ArchiveBase. getAsType(Class<X> type, Filter<ArchivePath> filter)
Get all nestedArchive
matching the filter as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
Collection<X>ArchiveBase. getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat)
Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.Map<ArchivePath,Node>
MemoryMapArchiveBase. getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.T
ArchiveBase. merge(Archive<?> source, String path, Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
ArchiveBase. merge(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
ArchiveBase. merge(Archive<?> source, Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path.Archive<T>
ArchiveBase. shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of thisArchive
based on given filter.Assets from this archive are made available under the same paths.Constructors in org.jboss.shrinkwrap.impl.base with parameters of type ArchivePath Constructor Description NodeImpl(ArchivePath path)
Constructor This constructor will create a directory Node with the specified path.NodeImpl(ArchivePath path, Asset asset)
Constructor This constructor will create an asset Node with the specified path. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.asset
Methods in org.jboss.shrinkwrap.impl.base.asset that return ArchivePath Modifier and Type Method Description static ArchivePath
AssetUtil. getFullPathForClassResource(Class<?> clazz)
Helper to extract a ClassResources full path.static ArchivePath
AssetUtil. getFullPathForClassResource(String className)
Helper to extract a ClassResources full path.static ArchivePath
AssetUtil. getPathForClassloaderResource(String resourceName)
Helper to extract a ClassloaderResources path information. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.container
Methods in org.jboss.shrinkwrap.impl.base.container that return ArchivePath Modifier and Type Method Description protected abstract ArchivePath
EnterpriseContainerBase. getApplicationPath()
Should be implemented to set the path for Application related resources.protected abstract ArchivePath
ContainerBase. getClassesPath()
Should be implemented to set the path for Class related resources.protected abstract ArchivePath
ContainerBase. getLibraryPath()
Should be implemented to set the path for Library related resources.protected abstract ArchivePath
ContainerBase. getManifestPath()
Should be implemented to set the path for Manifest related resources.protected abstract ArchivePath
EnterpriseContainerBase. getModulePath()
Should be implemented to set the path for Module related resources.protected abstract ArchivePath
ContainerBase. getResourcePath()
Should be implemented to set the path for Resource related resources.protected abstract ArchivePath
WebContainerBase. getServiceProvidersPath()
Returns the path to web container service providersprotected abstract ArchivePath
WebContainerBase. getWebInfPath()
Returns the path to WEB-INFprotected abstract ArchivePath
WebContainerBase. getWebPath()
Returns the path to web resourcesMethods in org.jboss.shrinkwrap.impl.base.container that return types with arguments of type ArchivePath Modifier and Type Method Description Map<ArchivePath,Node>
ContainerBase. getContent()
Obtains all assets in this archive, along with their respective paths.Map<ArchivePath,Node>
ContainerBase. getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.Methods in org.jboss.shrinkwrap.impl.base.container with parameters of type ArchivePath Modifier and Type Method Description T
ContainerBase. 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
ContainerBase. add(Asset asset, ArchivePath target)
Adds the specified asset under the specified path into the target contextT
ContainerBase. add(Asset asset, ArchivePath path, String name)
Adds the specified asset under the specified target (directory) using the specified name.T
EnterpriseContainerBase. addAsApplicationResource(File resource, ArchivePath target)
T
EnterpriseContainerBase. addAsApplicationResource(Package resourcePackage, String resourceName, ArchivePath target)
T
EnterpriseContainerBase. addAsApplicationResource(String resourceName, ArchivePath target)
T
EnterpriseContainerBase. addAsApplicationResource(URL resource, ArchivePath target)
T
EnterpriseContainerBase. addAsApplicationResource(Asset resource, ArchivePath target)
T
ContainerBase. addAsDirectories(ArchivePath... paths)
Adds the specified directories.T
ContainerBase. addAsDirectory(ArchivePath path)
Adds the specified directory.T
ContainerBase. addAsLibrary(File resource, ArchivePath target)
T
ContainerBase. addAsLibrary(String resourceName, ArchivePath target)
T
ContainerBase. addAsLibrary(URL resource, ArchivePath target)
T
ContainerBase. addAsLibrary(Asset resource, ArchivePath target)
T
ContainerBase. addAsManifestResource(File resource, ArchivePath target)
T
ContainerBase. addAsManifestResource(Package resourcePackage, String resourceName, ArchivePath target)
T
ContainerBase. addAsManifestResource(String resourceName, ArchivePath target)
T
ContainerBase. addAsManifestResource(URL resource, ArchivePath target)
T
ContainerBase. addAsManifestResource(Asset resource, ArchivePath target)
T
EnterpriseContainerBase. addAsModule(File resource, ArchivePath targetPath)
T
EnterpriseContainerBase. addAsModule(String resourceName, ArchivePath targetPath)
T
EnterpriseContainerBase. addAsModule(URL resource, ArchivePath targetPath)
T
EnterpriseContainerBase. addAsModule(Asset resource, ArchivePath targetPath)
T
ContainerBase. addAsResource(File resource, ArchivePath target)
T
ContainerBase. addAsResource(Package resourcePackage, String resourceName, ArchivePath target)
T
ContainerBase. addAsResource(String resourceName, ArchivePath target)
T
ContainerBase. addAsResource(String resourceName, ArchivePath target, ClassLoader classLoader)
T
ContainerBase. addAsResource(URL resource, ArchivePath target)
T
ContainerBase. addAsResource(Asset resource, ArchivePath target)
T
WebContainerBase. addAsWebInfResource(File resource, ArchivePath target)
Adds theFile
as a WEB-INF resource to the container, returning the container itself.T
WebContainerBase. addAsWebInfResource(Package resourcePackage, String resourceName, ArchivePath target)
Adds the resource as a WEB-INF resource to a specific path inside the container, returning the container itself.T
WebContainerBase. addAsWebInfResource(String resourceName, ArchivePath target)
Adds the resource as a WEB-INF resource to the container, returning the container itself.T
WebContainerBase. addAsWebInfResource(URL resource, ArchivePath target)
Adds theURL
as a WEB-INF resource to the container, returning the container itself.T
WebContainerBase. addAsWebInfResource(Asset resource, ArchivePath target)
Adds theAsset
as a WEB-INF resource to the container, returning the container itself.T
WebContainerBase. addAsWebResource(File resource, ArchivePath target)
Adds theFile
as a Web resource to the container, returning the container itself.T
WebContainerBase. addAsWebResource(Package resourcePackage, String resourceName, ArchivePath target)
T
WebContainerBase. addAsWebResource(String resourceName, ArchivePath target)
T
WebContainerBase. addAsWebResource(URL resource, ArchivePath target)
T
WebContainerBase. addAsWebResource(Asset resource, ArchivePath target)
Adds theAsset
as a Web resource to the container, returning the container itself.boolean
ContainerBase. contains(ArchivePath path)
Denotes whether this archive contains a resource at the specified pathNode
ContainerBase. delete(ArchivePath path)
Node
ContainerBase. get(ArchivePath path)
Obtains theNode
located at the specified path<X extends Archive<X>>
XContainerBase. getAsType(Class<X> type, ArchivePath path)
Get a nestedArchive
as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XContainerBase. getAsType(Class<X> type, ArchivePath path, ArchiveFormat archiveCompression)
T
ContainerBase. merge(Archive<?> source, ArchivePath path)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
ContainerBase. merge(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
ContainerBase. move(ArchivePath source, ArchivePath target)
Moves the asset under the source path to the target path.Method parameters in org.jboss.shrinkwrap.impl.base.container with type arguments of type ArchivePath Modifier and Type Method Description T
ContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, Package... packages)
T
ContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, String... packageNames)
T
ContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, Package... packages)
T
ContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, String... packages)
T
ContainerBase. filter(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive as a new Archive.
This is an alias for shallowCopy(Filter).<X extends Archive<X>>
Collection<X>ContainerBase. getAsType(Class<X> type, Filter<ArchivePath> filter)
Get all nestedArchive
matching the filter as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
Collection<X>ContainerBase. getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveCompression)
Get all nestedArchive
matching the filter as a specific type using the specifyArchiveFormat
.Map<ArchivePath,Node>
ContainerBase. getContent(Filter<ArchivePath> filter)
Obtains all assets matching given filter in this archive, along with its respective Path.T
ContainerBase. merge(Archive<?> source, String path, Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
ContainerBase. merge(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter)
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.T
ContainerBase. merge(Archive<?> source, Filter<ArchivePath> filter)
Merge the contents from an existing archive without maintaining the archive name in the context path.Archive<T>
ContainerBase. shallowCopy(Filter<ArchivePath> filter)
Creates a shallow copy of thisArchive
based on given filter.Assets from this archive are made available under the same paths. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.exporter
Methods in org.jboss.shrinkwrap.impl.base.exporter with parameters of type ArchivePath Modifier and Type Method Description protected abstract void
AbstractExporterDelegate. processNode(ArchivePath path, Node node)
Template method for processing a single node.protected void
ExplodedExporterDelegate. processNode(ArchivePath path, Node node)
Template method for processing a single node. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.filter
Methods in org.jboss.shrinkwrap.impl.base.filter with parameters of type ArchivePath Modifier and Type Method Description boolean
ExcludePaths. include(ArchivePath path)
boolean
ExcludeRegExpPaths. include(ArchivePath path)
boolean
IncludeAllPaths. include(ArchivePath object)
boolean
IncludePaths. include(ArchivePath path)
boolean
IncludeRegExpPaths. include(ArchivePath path)
-
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.importer
Method parameters in org.jboss.shrinkwrap.impl.base.importer with type arguments of type ArchivePath Modifier and Type Method Description ExplodedImporter
ExplodedImporterImpl. importDirectory(File file, Filter<ArchivePath> filter)
Import a directory structure as a archive.ExplodedImporter
ExplodedImporterImpl. importDirectory(String fileName, Filter<ArchivePath> filter)
Import a directory structure as a archive. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.importer.zip
Method parameters in org.jboss.shrinkwrap.impl.base.importer.zip with type arguments of type ArchivePath Modifier and Type Method Description ZipImporter
ZipImporterImpl. importFrom(File file, Filter<ArchivePath> filter)
Imports provided File as aArchive
.ZipImporter
ZipImporterImpl. importFrom(InputStream stream, Filter<ArchivePath> filter)
Imports provided stream as aArchive
. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.path
Classes in org.jboss.shrinkwrap.impl.base.path that implement ArchivePath Modifier and Type Class Description class
BasicPath
A Path which may be optionally prefixed with some common namespace context at construction time.Methods in org.jboss.shrinkwrap.impl.base.path that return ArchivePath Modifier and Type Method Description ArchivePath
BasicPath. getParent()
Obtains the parent of this Path, if exists, else null.Methods in org.jboss.shrinkwrap.impl.base.path with parameters of type ArchivePath Modifier and Type Method Description int
BasicPath. compareTo(ArchivePath path)
Constructors in org.jboss.shrinkwrap.impl.base.path with parameters of type ArchivePath Constructor Description BasicPath(String basePath, ArchivePath context)
Creates a new Path using the specified base and specified relative context.BasicPath(ArchivePath basePath, String context)
Creates a new Path using the specified base and specified relative context.BasicPath(ArchivePath basePath, ArchivePath context)
Creates a new Path using the specified base and specified relative context. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.spec
Methods in org.jboss.shrinkwrap.impl.base.spec that return ArchivePath Modifier and Type Method Description protected ArchivePath
EnterpriseArchiveImpl. getApplicationPath()
protected ArchivePath
EnterpriseArchiveImpl. getClassesPath()
Classes are not supported by EnterpriseArchive.protected ArchivePath
JavaArchiveImpl. getClassesPath()
protected ArchivePath
ResourceAdapterArchiveImpl. getClassesPath()
Classes are not supported by ResourceAdapterArchive.protected ArchivePath
WebArchiveImpl. getClassesPath()
Should be implemented to set the path for Class related resources.ArchivePath
EnterpriseArchiveImpl. getLibraryPath()
ArchivePath
JavaArchiveImpl. getLibraryPath()
Libraries are not supported by JavaArchive.ArchivePath
ResourceAdapterArchiveImpl. getLibraryPath()
protected ArchivePath
WebArchiveImpl. getLibraryPath()
Should be implemented to set the path for Library related resources.protected ArchivePath
EnterpriseArchiveImpl. getManifestPath()
protected ArchivePath
JavaArchiveImpl. getManifestPath()
protected ArchivePath
ResourceAdapterArchiveImpl. getManifestPath()
protected ArchivePath
WebArchiveImpl. getManifestPath()
Should be implemented to set the path for Manifest related resources.protected ArchivePath
EnterpriseArchiveImpl. getModulePath()
protected ArchivePath
EnterpriseArchiveImpl. getResourcePath()
protected ArchivePath
JavaArchiveImpl. getResourcePath()
protected ArchivePath
ResourceAdapterArchiveImpl. getResourcePath()
protected ArchivePath
WebArchiveImpl. getResourcePath()
Should be implemented to set the path for Resource related resources.protected ArchivePath
WebArchiveImpl. getServiceProvidersPath()
Returns the path to web container service providersprotected ArchivePath
WebArchiveImpl. getWebInfPath()
Returns the path to WEB-INFprotected ArchivePath
WebArchiveImpl. getWebPath()
Returns the path to web resources
-