Uses of Interface
org.jboss.shrinkwrap.api.ArchivePath
Packages that use ArchivePath
Package
Description
-
Uses of ArchivePath in org.jboss.shrinkwrap.api
Subinterfaces with type arguments of type ArchivePath in org.jboss.shrinkwrap.apiModifier and TypeInterfaceDescriptioninterfaceMethods in org.jboss.shrinkwrap.api that return ArchivePathModifier and TypeMethodDescriptionstatic ArchivePathCreates a newArchivePathwith the specified contextstatic ArchivePathCreates a newArchivePathusing the specified base and specified relative context.static ArchivePathArchivePaths.create(String basePath, ArchivePath context) Creates a newArchivePathusing the specified base and specified relative context.static ArchivePathArchivePaths.create(ArchivePath basePath, String context) Creates a newArchivePathusing the specified base and specified relative context.static ArchivePathArchivePaths.create(ArchivePath basePath, ArchivePath context) Creates a newArchivePathusing the specified base and specified relative context.ArchivePath.getParent()Obtains the parent of this Path, if exists, else null.ArchiveEvent.getPath()Node.getPath()static ArchivePathArchivePaths.root()Creates a newArchivePathrepresenting the root path (/).Methods in org.jboss.shrinkwrap.api that return types with arguments of type ArchivePathModifier and TypeMethodDescriptionstatic Filter<ArchivePath> static Filter<ArchivePath> static Filter<ArchivePath> static Filter<ArchivePath> Filters.excludePaths(String... paths) Filterthat exclude allArchivePaths that match the given List of paths.static Filter<ArchivePath> Filters.excludePaths(Collection<String> paths) Filterthat exclude allArchivePaths that match the given List of paths.Archive.getContent()Obtains all assets in this archive, along with their respective paths.Archive.getContent(Filter<ArchivePath> filter) Obtains all assets matching given filter in this archive, along with its respective Path.static Filter<ArchivePath> static Filter<ArchivePath> static Filter<ArchivePath> static Filter<ArchivePath> Filters.includeAll()Filterthat includes allArchivePaths.static Filter<ArchivePath> Filters.includePaths(String... paths) Filterthat include allArchivePaths that match the given List of paths.static Filter<ArchivePath> Filters.includePaths(Collection<String> paths) Filterthat include allArchivePaths that match the given List of paths.Methods in org.jboss.shrinkwrap.api with parameters of type ArchivePathModifier and TypeMethodDescriptionArchive.add(Archive<?> archive, ArchivePath path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.Archive.add(Asset asset, ArchivePath target) Adds the specified asset under the specified path into the target contextArchive.add(Asset asset, ArchivePath target, String name) Adds the specified asset under the specified target (directory) using the specified name.Archive.addAsDirectories(ArchivePath... paths) Adds the specified directories.Archive.addAsDirectory(ArchivePath path) Adds the specified directory.booleanArchive.contains(ArchivePath path) Denotes whether this archive contains a resource at the specified pathstatic ArchivePathArchivePaths.create(String basePath, ArchivePath context) Creates a newArchivePathusing the specified base and specified relative context.static ArchivePathArchivePaths.create(ArchivePath basePath, String context) Creates a newArchivePathusing the specified base and specified relative context.static ArchivePathArchivePaths.create(ArchivePath basePath, ArchivePath context) Creates a newArchivePathusing the specified base and specified relative context.Archive.delete(ArchivePath path) Archive.get(ArchivePath path) Obtains theNodelocated at the specified path<X extends Archive<X>>
XArchive.getAsType(Class<X> type, ArchivePath path) Get a nestedArchiveas a specific type.
The found Archives must have been added as an Archive, no import is performed.<X extends Archive<X>>
XArchive.getAsType(Class<X> type, ArchivePath path, ArchiveFormat archiveFormat) 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.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.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 ArchivePathModifier and TypeMethodDescriptionArchive.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 nestedArchivematching the filter as a specific type.
The found Archives must have been added as an Archive, no import is performed.<X extends Archive<X>>
Collection<X> Archive.getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat) Get all nestedArchivematching the filter as a specific type using the specifiedArchiveFormat.Archive.getContent(Filter<ArchivePath> filter) Obtains all assets matching given filter in this archive, along with its respective Path.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.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.Archive.merge(Archive<?> source, Filter<ArchivePath> filter) Merge the contents from an existing archive without maintaining the archive name in the context path.Archive.shallowCopy(Filter<ArchivePath> filter) Creates a shallow copy of thisArchivebased on given filter.Constructors in org.jboss.shrinkwrap.api with parameters of type ArchivePath -
Uses of ArchivePath in org.jboss.shrinkwrap.api.asset
Constructors in org.jboss.shrinkwrap.api.asset with parameters of type ArchivePathModifierConstructorDescriptionMemoryNamedAsset(ArchivePath path) Sets the name of thisMemoryNamedAssetviaArchivePath.get()of the specified (required)ArchivePath -
Uses of ArchivePath in org.jboss.shrinkwrap.api.container
Methods in org.jboss.shrinkwrap.api.container with parameters of type ArchivePathModifier and TypeMethodDescriptionEnterpriseContainer.addAsApplicationResource(File resource, ArchivePath target) 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.EnterpriseContainer.addAsApplicationResource(String resourceName, ArchivePath target) Adds a resource to thisArchives application context.EnterpriseContainer.addAsApplicationResource(URL resource, ArchivePath target) EnterpriseContainer.addAsApplicationResource(Asset resource, ArchivePath target) LibraryContainer.addAsLibrary(File resource, ArchivePath target) Adds theFileas a library to the container, returning the container itself.LibraryContainer.addAsLibrary(String resourceName, ArchivePath target) Adds the resource as a library to the container, returning the container itself.LibraryContainer.addAsLibrary(URL resource, ArchivePath target) Adds theURLas a library to the container, returning the container itself.LibraryContainer.addAsLibrary(Asset resource, ArchivePath target) Adds theAssetas a library to the container, returning the container itself.ManifestContainer.addAsManifestResource(File resource, ArchivePath target) Adds theFileas a Manifest resource to the container, returning the container itself.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.ManifestContainer.addAsManifestResource(String resourceName, ArchivePath target) Adds the resource as a Manifest resource to the container, returning the container itself.ManifestContainer.addAsManifestResource(URL resource, ArchivePath target) Adds theURLas a Manifest resource to the container, returning the container itself.ManifestContainer.addAsManifestResource(Asset resource, ArchivePath target) Adds theAssetas a Manifest resource to the container, returning the container itself.EnterpriseContainer.addAsModule(File resource, ArchivePath targetPath) EnterpriseContainer.addAsModule(String resourceName, ArchivePath targetPath) Adds a resource to thisArchives module context.EnterpriseContainer.addAsModule(URL resource, ArchivePath targetPath) EnterpriseContainer.addAsModule(Asset resource, ArchivePath targetPath) ResourceContainer.addAsResource(File resource, ArchivePath target) Adds theFileas a resource to the container, returning the container itself.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.ResourceContainer.addAsResource(String resourceName, ArchivePath target) Adds the resource with the specified name to the container, returning the container itself.ResourceContainer.addAsResource(String resourceName, ArchivePath target, ClassLoader classLoader) Adds the resource as a resource to the container, returning the container itself.ResourceContainer.addAsResource(URL resource, ArchivePath target) Adds theURLas a resource to the container, returning the container itself.ResourceContainer.addAsResource(Asset resource, ArchivePath target) Adds theAssetas a resource to the container, returning the container itself.WebContainer.addAsWebInfResource(File resource, ArchivePath target) Adds theFileas a WEB-INF resource to the container, returning the container itself.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.WebContainer.addAsWebInfResource(String resourceName, ArchivePath target) Adds the resource as a WEB-INF resource to the container, returning the container itself.WebContainer.addAsWebInfResource(URL resource, ArchivePath target) Adds theURLas a WEB-INF resource to the container, returning the container itself.WebContainer.addAsWebInfResource(Asset resource, ArchivePath target) Adds theAssetas a WEB-INF resource to the container, returning the container itself.WebContainer.addAsWebResource(File resource, ArchivePath target) Adds theFileas a Web resource to the container, returning the container itself.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.WebContainer.addAsWebResource(String resourceName, ArchivePath target) Adds the resource as a Web resource to the container, returning the container itself.WebContainer.addAsWebResource(URL resource, ArchivePath target) Adds theURLas a Web resource to the container, returning the container itself.WebContainer.addAsWebResource(Asset resource, ArchivePath target) Adds theAssetas a Web resource to the container, returning the container itself.Method parameters in org.jboss.shrinkwrap.api.container with type arguments of type ArchivePathModifier and TypeMethodDescriptionClassContainer.addPackages(boolean recursive, Filter<ArchivePath> filter, Package... packages) ClassContainer.addPackages(boolean recursive, Filter<ArchivePath> filter, String... packages) ClassContainer.deletePackages(boolean recursive, Filter<ArchivePath> filter, Package... packages) 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 ArchivePathModifier and TypeMethodDescriptionExplodedImporter.importDirectory(File file, Filter<ArchivePath> filter) Import a directory structure as an archive.ExplodedImporter.importDirectory(String fileName, Filter<ArchivePath> filter) Import a directory structure as an archive.StreamImporter.importFrom(File file, Filter<ArchivePath> filter) Imports provided File as aArchive.StreamImporter.importFrom(InputStream stream, Filter<ArchivePath> filter) Imports provided stream as aArchive.