Uses of Interface
org.jboss.shrinkwrap.api.ArchivePath
-
-
Uses of ArchivePath in org.jboss.shrinkwrap.api
Fields in org.jboss.shrinkwrap.api declared as ArchivePath Modifier and Type Field Description private ArchivePathArchiveEvent. pathprivate ArchivePathArchivePaths.RootPathWrapper. rootMethods in org.jboss.shrinkwrap.api that return ArchivePath Modifier and Type Method Description static ArchivePathArchivePaths. create(java.lang.String context)Creates a newArchivePathwith the specified contextstatic ArchivePathArchivePaths. create(java.lang.String basePath, java.lang.String context)Creates a newArchivePathusing the specified base and specified relative context.static ArchivePathArchivePaths. create(java.lang.String basePath, ArchivePath context)Creates a newArchivePathusing the specified base and specified relative context.static ArchivePathArchivePaths. create(ArchivePath basePath, java.lang.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.private static ArchivePathArchivePaths. createInstance(java.lang.Class<?>[] argumentTypes, java.lang.Object[] arguments)ArchivePathArchivePath. getParent()Obtains the parent of this Path, if exists, else null.ArchivePathArchiveEvent. getPath()ArchivePathNode. getPath()private ArchivePathArchivePaths.RootPathWrapper. getRoot()static ArchivePathArchivePaths. root()Creates a newArchivePathrepresenting the root path (/).Methods in org.jboss.shrinkwrap.api that return types with arguments of type ArchivePath Modifier and Type Method Description private static Filter<ArchivePath>Filters. createRegExpFilter(java.lang.String regExpFilterImplName, java.lang.Class<?>... classes)private static Filter<ArchivePath>Filters. createRegExpFilter(java.lang.String filterClassName, java.lang.Package... packages)static Filter<ArchivePath>Filters. exclude(java.lang.Class<?>... classes)Filterthat excludes listedClass.static Filter<ArchivePath>Filters. exclude(java.lang.Package... packages)Filterthat includes listedPackage.static Filter<ArchivePath>Filters. exclude(java.lang.String regexp)static Filter<ArchivePath>Filters. excludePaths(java.lang.String... paths)Filterthat exclude allArchivePaths that match the given List of paths.static Filter<ArchivePath>Filters. excludePaths(java.util.Collection<java.lang.String> paths)Filterthat exclude allArchivePaths that match the given List of paths.java.util.Map<ArchivePath,Node>Archive. getContent()Obtains all assets in this archive, along with their respective paths.java.util.Map<ArchivePath,Node>Archive. getContent(Filter<ArchivePath> filter)Obtains all assets matching given filter in this archive, along with its respective Path.private static Filter<ArchivePath>Filters. getFilterInstance(java.lang.String filterClassName, java.lang.Class<?>[] ctorTypes, java.lang.Object[] ctorArguments)Creates a newFilterinstance using the given impl class name, constructor arguments and typestatic Filter<ArchivePath>Filters. include(java.lang.Class<?>... classes)Filterthat includes listedClass.static Filter<ArchivePath>Filters. include(java.lang.Package... packages)Filterthat excludes listedPackage.static Filter<ArchivePath>Filters. include(java.lang.String regexp)static Filter<ArchivePath>Filters. includeAll()Filterthat includes allArchivePaths.static Filter<ArchivePath>Filters. includePaths(java.lang.String... paths)Filerthat include allArchivePaths that match the given List of paths..static Filter<ArchivePath>Filters. includePaths(java.util.Collection<java.lang.String> paths)Filerthat include allArchivePaths that match the given List of paths..Methods in org.jboss.shrinkwrap.api with parameters of type ArchivePath Modifier and Type Method Description TArchive. add(Archive<?> archive, ArchivePath path, java.lang.Class<? extends StreamExporter> exporter)Add an archive under a specific context and maintain the archive name as context path.TArchive. add(Asset asset, ArchivePath target)Adds the specified asset under the specified path into the target contextTArchive. add(Asset asset, ArchivePath target, java.lang.String name)Adds the specified asset under the specified target (directory) using the specified name.TArchive. addAsDirectories(ArchivePath... paths)Adds the specified directories.TArchive. addAsDirectory(ArchivePath path)Adds the specified directory.booleanArchive. contains(ArchivePath path)Denotes whether this archive contains a resource at the specified pathstatic ArchivePathArchivePaths. create(java.lang.String basePath, ArchivePath context)Creates a newArchivePathusing the specified base and specified relative context.static ArchivePathArchivePaths. create(ArchivePath basePath, java.lang.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.NodeArchive. delete(ArchivePath path)NodeArchive. get(ArchivePath path)Obtains theNodelocated at the specified path<X extends Archive<X>>
XArchive. getAsType(java.lang.Class<X> type, ArchivePath path)Get a nestedArchiveas a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XArchive. getAsType(java.lang.Class<X> type, ArchivePath path, ArchiveFormat archiveFormat)TArchive. 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.TArchive. 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.TArchive. 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 TArchive. 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>>
java.util.Collection<X>Archive. getAsType(java.lang.Class<X> type, Filter<ArchivePath> filter)Get all nestedArchivematching the filter as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
java.util.Collection<X>Archive. getAsType(java.lang.Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat)Get all nestedArchivematching the filter as a specific type using the specifyArchiveFormat.java.util.Map<ArchivePath,Node>Archive. getContent(Filter<ArchivePath> filter)Obtains all assets matching given filter in this archive, along with its respective Path.TArchive. merge(Archive<?> source, java.lang.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.TArchive. 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.TArchive. 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 thisArchivebased 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 TEnterpriseContainer. addAsApplicationResource(java.io.File resource, ArchivePath target)Adds aFileto thisArchives application context.TEnterpriseContainer. addAsApplicationResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)Adds the resource as a resource to a specific path inside the container, returning the container itself.TEnterpriseContainer. addAsApplicationResource(java.lang.String resourceName, ArchivePath target)Adds a resource to thisArchives application context.TEnterpriseContainer. addAsApplicationResource(java.net.URL resource, ArchivePath target)Adds aURLto thisArchives application context.TEnterpriseContainer. addAsApplicationResource(Asset resource, ArchivePath target)TLibraryContainer. addAsLibrary(java.io.File resource, ArchivePath target)Adds theFileas a library to the container, returning the container itself.TLibraryContainer. addAsLibrary(java.lang.String resourceName, ArchivePath target)Adds the resource as a library to the container, returning the container itself.TLibraryContainer. addAsLibrary(java.net.URL resource, ArchivePath target)Adds theURLas a library to the container, returning the container itself.TLibraryContainer. addAsLibrary(Asset resource, ArchivePath target)Adds theAssetas a library to the container, returning the container itself.TManifestContainer. addAsManifestResource(java.io.File resource, ArchivePath target)Adds theFileas a Manifest resource to the container, returning the container itself.TManifestContainer. addAsManifestResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)Adds the resource as a resource to a specific path inside the container, returning the container itself.TManifestContainer. addAsManifestResource(java.lang.String resourceName, ArchivePath target)Adds the resource as a Manifest resource to the container, returning the container itself.TManifestContainer. addAsManifestResource(java.net.URL resource, ArchivePath target)Adds theURLas a Manifest resource to the container, returning the container itself.TManifestContainer. addAsManifestResource(Asset resource, ArchivePath target)Adds theAssetas a Manifest resource to the container, returning the container itself.TEnterpriseContainer. addAsModule(java.io.File resource, ArchivePath targetPath)Adds aFileto thisArchives module context.TEnterpriseContainer. addAsModule(java.lang.String resourceName, ArchivePath targetPath)Adds a resource to thisArchives module context.TEnterpriseContainer. addAsModule(java.net.URL resource, ArchivePath targetPath)Adds aURLto thisArchives module context.TEnterpriseContainer. addAsModule(Asset resource, ArchivePath targetPath)TResourceContainer. addAsResource(java.io.File resource, ArchivePath target)Adds theFileas a resource to the container, returning the container itself.TResourceContainer. addAsResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)Adds the resource as a resource to a specific path inside the container, returning the container itself.TResourceContainer. addAsResource(java.lang.String resourceName, ArchivePath target)Adds the resource with the specified name to the container, returning the container itself.TResourceContainer. addAsResource(java.lang.String resourceName, ArchivePath target, java.lang.ClassLoader classLoader)Adds the resource as a resource to the container, returning the container itself.TResourceContainer. addAsResource(java.net.URL resource, ArchivePath target)Adds theURLas a resource to the container, returning the container itself.TResourceContainer. addAsResource(Asset resource, ArchivePath target)Adds theAssetas a resource to the container, returning the container itself.TWebContainer. addAsWebInfResource(java.io.File resource, ArchivePath target)Adds theFileas a WEB-INF resource to the container, returning the container itself.TWebContainer. addAsWebInfResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)Adds the resource as a WEB-INF resource to a specific path inside the container, returning the container itself.TWebContainer. addAsWebInfResource(java.lang.String resourceName, ArchivePath target)Adds the resource as a WEB-INF resource to the container, returning the container itself.TWebContainer. addAsWebInfResource(java.net.URL resource, ArchivePath target)Adds theURLas a WEB-INF resource to the container, returning the container itself.TWebContainer. addAsWebInfResource(Asset resource, ArchivePath target)Adds theAssetas a WEB-INF resource to the container, returning the container itself.TWebContainer. addAsWebResource(java.io.File resource, ArchivePath target)Adds theFileas a Web resource to the container, returning the container itself.TWebContainer. addAsWebResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)Adds the resource as a resource to a specific path inside the container, returning the container itself.TWebContainer. addAsWebResource(java.lang.String resourceName, ArchivePath target)Adds the resource as a Web resource to the container, returning the container itself.TWebContainer. addAsWebResource(java.net.URL resource, ArchivePath target)Adds theURLas a Web resource to the container, returning the container itself.TWebContainer. 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 ArchivePath Modifier and Type Method Description TClassContainer. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)Adds all classes accepted by the filter in the specifiedPackages to theArchive.TClassContainer. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packages)Adds all classes accepted by the filter in the specifiedPackages to theArchive.TClassContainer. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)Deletes all classes accepted by the filter in the specifiedPackages from theArchive.TClassContainer. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packages)Delete all classes accepted by the filter in the specifiedPackages from theArchive. -
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 ExplodedImporterExplodedImporter. importDirectory(java.io.File file, Filter<ArchivePath> filter)Import a directory structure as a archive.ExplodedImporterExplodedImporter. importDirectory(java.lang.String fileName, Filter<ArchivePath> filter)Import a directory structure as a archive.IStreamImporter. importFrom(java.io.File file, Filter<ArchivePath> filter)Imports provided File as aArchive.IStreamImporter. importFrom(java.io.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
Fields in org.jboss.shrinkwrap.impl.base declared as ArchivePath Modifier and Type Field Description private ArchivePathNodeImpl. pathThe path of this node inside theArchiveFields in org.jboss.shrinkwrap.impl.base with type parameters of type ArchivePath Modifier and Type Field Description private java.util.Map<ArchivePath,NodeImpl>MemoryMapArchiveBase. contentStorage for theNodes.private java.util.Map<ArchivePath,ArchiveAsset>MemoryMapArchiveBase. nestedArchivesStorage for theArchiveAssets.Methods in org.jboss.shrinkwrap.impl.base that return ArchivePath Modifier and Type Method Description protected ArchivePathGenericArchiveImpl. getClassesPath()Should be implemented to set the path for Class related resources.protected ArchivePathGenericArchiveImpl. getLibraryPath()Should be implemented to set the path for Library related resources.protected ArchivePathGenericArchiveImpl. getManifestPath()Should be implemented to set the path for Manifest related resources.private ArchivePathMemoryMapArchiveBase. getNestedPath(ArchivePath fullPath, ArchivePath basePath)Given a full path and a base path return a new path containing the full path with the base path removed from the beginning.ArchivePathNodeImpl. getPath()protected ArchivePathGenericArchiveImpl. 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 java.util.Map<ArchivePath,Node>MemoryMapArchiveBase. getContent()Obtains all assets in this archive, along with their respective paths.java.util.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 TArchiveBase. add(Archive<?> archive, ArchivePath path, java.lang.Class<? extends StreamExporter> exporter)Add an archive under a specific context and maintain the archive name as context path.TArchiveBase. add(Asset asset, ArchivePath path, java.lang.String name)Adds the specified asset under the specified target (directory) using the specified name.TMemoryMapArchiveBase. add(Archive<?> archive, ArchivePath path, java.lang.Class<? extends StreamExporter> exporter)Add an archive under a specific context and maintain the archive name as context path.TMemoryMapArchiveBase. add(Asset asset, ArchivePath path)Adds the specified asset under the specified path into the target contextTArchiveBase. addAsDirectories(ArchivePath... paths)Adds the specified directories.TMemoryMapArchiveBase. addAsDirectory(ArchivePath path)Adds the specified directory.private TMemoryMapArchiveBase. addAsset(ArchivePath path, Asset asset)private voidMemoryMapArchiveBase. addNewNode(ArchivePath path, Asset handledAsset)booleanMemoryMapArchiveBase. contains(ArchivePath path)Denotes whether this archive contains a resource at the specified pathNodeMemoryMapArchiveBase. delete(ArchivePath path)NodeMemoryMapArchiveBase. get(ArchivePath path)Obtains theNodelocated at the specified path<X extends Archive<X>>
XArchiveBase. getAsType(java.lang.Class<X> type, ArchivePath path)Get a nestedArchiveas a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XArchiveBase. getAsType(java.lang.Class<X> type, ArchivePath path, ArchiveFormat archiveFormat)private NodeMemoryMapArchiveBase. getNestedNode(ArchivePath path)Attempt to get the asset from a nested archive.private ArchivePathMemoryMapArchiveBase. getNestedPath(ArchivePath fullPath, ArchivePath basePath)Given a full path and a base path return a new path containing the full path with the base path removed from the beginning.private AssetMemoryMapArchiveBase. invokeHandlers(ArchivePath path, Asset asset)TArchiveBase. 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.TArchiveBase. 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.TArchiveBase. move(ArchivePath source, ArchivePath target)Moves the asset under the source path to the target path.private booleanMemoryMapArchiveBase. nestedContains(ArchivePath path)Check to see if a path is found in a nested archiveprivate NodeImplMemoryMapArchiveBase. obtainParent(ArchivePath path)private NodeMemoryMapArchiveBase. removeNodeRecursively(NodeImpl node, ArchivePath path)Removes the specified node and its associated children from the contents of this archive.private booleanMemoryMapArchiveBase. startsWith(ArchivePath fullPath, ArchivePath startingPath)Check to see if one path starts with anotherMethod parameters in org.jboss.shrinkwrap.impl.base with type arguments of type ArchivePath Modifier and Type Method Description TArchiveBase. 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>>
java.util.Collection<X>ArchiveBase. getAsType(java.lang.Class<X> type, Filter<ArchivePath> filter)Get all nestedArchivematching the filter as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
java.util.Collection<X>ArchiveBase. getAsType(java.lang.Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat)Get all nestedArchivematching the filter as a specific type using the specifyArchiveFormat.java.util.Map<ArchivePath,Node>MemoryMapArchiveBase. getContent(Filter<ArchivePath> filter)Obtains all assets matching given filter in this archive, along with its respective Path.TArchiveBase. merge(Archive<?> source, java.lang.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.TArchiveBase. 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.TArchiveBase. 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 thisArchivebased 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 ArchivePathAssetUtil. getFullPathForClassResource(java.lang.Class<?> clazz)Helper to extract a ClassResources full path.static ArchivePathAssetUtil. getFullPathForClassResource(java.lang.String className)Helper to extract a ClassResources full path.static ArchivePathAssetUtil. getPathForClassloaderResource(java.lang.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 ArchivePathEnterpriseContainerBase. getApplicationPath()Should be implemented to set the path for Application related resources.protected abstract ArchivePathContainerBase. getClassesPath()Should be implemented to set the path for Class related resources.protected abstract ArchivePathContainerBase. getLibraryPath()Should be implemented to set the path for Library related resources.protected abstract ArchivePathContainerBase. getManifestPath()Should be implemented to set the path for Manifest related resources.protected abstract ArchivePathEnterpriseContainerBase. getModulePath()Should be implemented to set the path for Module related resources.protected abstract ArchivePathContainerBase. getResourcePath()Should be implemented to set the path for Resource related resources.protected abstract ArchivePathWebContainerBase. getServiceProvidersPath()Returns the path to web container service providersprotected abstract ArchivePathWebContainerBase. getWebInfPath()Returns the path to WEB-INFprotected abstract ArchivePathWebContainerBase. 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 java.util.Map<ArchivePath,Node>ContainerBase. getContent()Obtains all assets in this archive, along with their respective paths.java.util.Map<ArchivePath,Node>ContainerBase. getContent(Filter<ArchivePath> filter)Obtains all assets matching given filter in this archive, along with its respective Path.private java.util.Set<ArchivePath>ContainerBase. getInnerClasses(ArchivePath path)Methods in org.jboss.shrinkwrap.impl.base.container with parameters of type ArchivePath Modifier and Type Method Description TContainerBase. add(Archive<?> archive, ArchivePath path, java.lang.Class<? extends StreamExporter> exporter)Add an archive under a specific context and maintain the archive name as context path.TContainerBase. add(Asset asset, ArchivePath target)Adds the specified asset under the specified path into the target contextTContainerBase. add(Asset asset, ArchivePath path, java.lang.String name)Adds the specified asset under the specified target (directory) using the specified name.TEnterpriseContainerBase. addAsApplicationResource(java.io.File resource, ArchivePath target)TEnterpriseContainerBase. addAsApplicationResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)TEnterpriseContainerBase. addAsApplicationResource(java.lang.String resourceName, ArchivePath target)TEnterpriseContainerBase. addAsApplicationResource(java.net.URL resource, ArchivePath target)TEnterpriseContainerBase. addAsApplicationResource(Asset resource, ArchivePath target)TContainerBase. addAsDirectories(ArchivePath... paths)Adds the specified directories.TContainerBase. addAsDirectory(ArchivePath path)Adds the specified directory.TContainerBase. addAsLibrary(java.io.File resource, ArchivePath target)TContainerBase. addAsLibrary(java.lang.String resourceName, ArchivePath target)TContainerBase. addAsLibrary(java.net.URL resource, ArchivePath target)TContainerBase. addAsLibrary(Asset resource, ArchivePath target)TContainerBase. addAsManifestResource(java.io.File resource, ArchivePath target)TContainerBase. addAsManifestResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)TContainerBase. addAsManifestResource(java.lang.String resourceName, ArchivePath target)TContainerBase. addAsManifestResource(java.net.URL resource, ArchivePath target)TContainerBase. addAsManifestResource(Asset resource, ArchivePath target)TEnterpriseContainerBase. addAsModule(java.io.File resource, ArchivePath targetPath)TEnterpriseContainerBase. addAsModule(java.lang.String resourceName, ArchivePath targetPath)TEnterpriseContainerBase. addAsModule(java.net.URL resource, ArchivePath targetPath)TEnterpriseContainerBase. addAsModule(Asset resource, ArchivePath targetPath)TContainerBase. addAsResource(java.io.File resource, ArchivePath target)TContainerBase. addAsResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)TContainerBase. addAsResource(java.lang.String resourceName, ArchivePath target)TContainerBase. addAsResource(java.lang.String resourceName, ArchivePath target, java.lang.ClassLoader classLoader)TContainerBase. addAsResource(java.net.URL resource, ArchivePath target)TContainerBase. addAsResource(Asset resource, ArchivePath target)TWebContainerBase. addAsWebInfResource(java.io.File resource, ArchivePath target)Adds theFileas a WEB-INF resource to the container, returning the container itself.TWebContainerBase. addAsWebInfResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)Adds the resource as a WEB-INF resource to a specific path inside the container, returning the container itself.TWebContainerBase. addAsWebInfResource(java.lang.String resourceName, ArchivePath target)Adds the resource as a WEB-INF resource to the container, returning the container itself.TWebContainerBase. addAsWebInfResource(java.net.URL resource, ArchivePath target)Adds theURLas a WEB-INF resource to the container, returning the container itself.TWebContainerBase. addAsWebInfResource(Asset resource, ArchivePath target)Adds theAssetas a WEB-INF resource to the container, returning the container itself.TWebContainerBase. addAsWebResource(java.io.File resource, ArchivePath target)Adds theFileas a Web resource to the container, returning the container itself.TWebContainerBase. addAsWebResource(java.lang.Package resourcePackage, java.lang.String resourceName, ArchivePath target)TWebContainerBase. addAsWebResource(java.lang.String resourceName, ArchivePath target)TWebContainerBase. addAsWebResource(java.net.URL resource, ArchivePath target)TWebContainerBase. addAsWebResource(Asset resource, ArchivePath target)Adds theAssetas a Web resource to the container, returning the container itself.private TContainerBase. addNestedJarFileResource(java.io.File resource, ArchivePath target, ArchivePath base)Adds the specifiedFileresource (a nested JAR File form) to the current archive, returning the archive itselfbooleanContainerBase. contains(ArchivePath path)Denotes whether this archive contains a resource at the specified pathNodeContainerBase. delete(ArchivePath path)NodeContainerBase. get(ArchivePath path)Obtains theNodelocated at the specified path<X extends Archive<X>>
XContainerBase. getAsType(java.lang.Class<X> type, ArchivePath path)Get a nestedArchiveas a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
XContainerBase. getAsType(java.lang.Class<X> type, ArchivePath path, ArchiveFormat archiveCompression)private java.util.Set<ArchivePath>ContainerBase. getInnerClasses(ArchivePath path)TContainerBase. 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.TContainerBase. 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.TContainerBase. 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 private voidContainerBase. addPackage(boolean recursive, Filter<ArchivePath> filter, java.lang.ClassLoader classLoader, java.lang.String packageName)private TContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.ClassLoader cl, java.lang.Package... packages)private TContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.ClassLoader classLoader, java.lang.String... packageNames)TContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)TContainerBase. addPackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packageNames)private voidContainerBase. deletePackage(boolean recursive, Filter<ArchivePath> filter, java.lang.String packageName, java.lang.ClassLoader classLoader)TContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.Package... packages)TContainerBase. deletePackages(boolean recursive, Filter<ArchivePath> filter, java.lang.String... packages)TContainerBase. 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>>
java.util.Collection<X>ContainerBase. getAsType(java.lang.Class<X> type, Filter<ArchivePath> filter)Get all nestedArchivematching the filter as a specific type.
The found Archives must have been added as a Archive, no import is performed.<X extends Archive<X>>
java.util.Collection<X>ContainerBase. getAsType(java.lang.Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveCompression)Get all nestedArchivematching the filter as a specific type using the specifyArchiveFormat.java.util.Map<ArchivePath,Node>ContainerBase. getContent(Filter<ArchivePath> filter)Obtains all assets matching given filter in this archive, along with its respective Path.TContainerBase. merge(Archive<?> source, java.lang.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.TContainerBase. 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.TContainerBase. 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 thisArchivebased on given filter.Assets from this archive are made available under the same paths. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.exporter
Fields in org.jboss.shrinkwrap.impl.base.exporter declared as ArchivePath Modifier and Type Field Description private ArchivePathAbstractOnDemandInputStream. currentPathCurrently processed archive path - for displaying exception.Methods in org.jboss.shrinkwrap.impl.base.exporter with parameters of type ArchivePath Modifier and Type Method Description protected abstract voidAbstractExporterDelegate. processNode(ArchivePath path, Node node)Template method for processing a single node.protected voidExplodedExporterDelegate. processNode(ArchivePath path, Node node)Template method for processing a single node. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.exporter.tar
Methods in org.jboss.shrinkwrap.impl.base.exporter.tar with parameters of type ArchivePath Modifier and Type Method Description protected voidTarBz2ExporterDelegate. processNode(ArchivePath path, Node node)protected voidTarExporterDelegate. processNode(ArchivePath path, Node node)protected voidTarGzExporterDelegate. processNode(ArchivePath path, Node node) -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.exporter.zip
Methods in org.jboss.shrinkwrap.impl.base.exporter.zip with parameters of type ArchivePath Modifier and Type Method Description protected voidZipExporterDelegate. processNode(ArchivePath path, Node 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 booleanExcludePaths. include(ArchivePath path)booleanExcludeRegExpPaths. include(ArchivePath path)booleanIncludeAllPaths. include(ArchivePath object)booleanIncludePaths. include(ArchivePath path)booleanIncludeRegExpPaths. include(ArchivePath path) -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.importer
Methods in org.jboss.shrinkwrap.impl.base.importer that return ArchivePath Modifier and Type Method Description private ArchivePathExplodedImporterImpl. calculatePath(java.io.File root, java.io.File child)Calculate the relative child path.Method parameters in org.jboss.shrinkwrap.impl.base.importer with type arguments of type ArchivePath Modifier and Type Method Description private voidExplodedImporterImpl. doImport(java.io.File root, java.io.File[] files, Filter<ArchivePath> filter)ExplodedImporterExplodedImporterImpl. importDirectory(java.io.File file, Filter<ArchivePath> filter)Import a directory structure as a archive.ExplodedImporterExplodedImporterImpl. importDirectory(java.lang.String fileName, Filter<ArchivePath> filter)Import a directory structure as a archive. -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.base.importer.tar
Method parameters in org.jboss.shrinkwrap.impl.base.importer.tar with type arguments of type ArchivePath Modifier and Type Method Description ITarImporterBase. importFrom(java.io.File file, Filter<ArchivePath> filter)Imports provided File as aArchive.ITarImporterBase. importFrom(java.io.InputStream stream, Filter<ArchivePath> filter)Imports provided stream as aArchive.private ITarImporterBase. importFrom(S stream, Filter<ArchivePath> filter) -
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 ZipImporterZipImporterImpl. importFrom(java.io.File file, Filter<ArchivePath> filter)Imports provided File as aArchive.ZipImporterZipImporterImpl. importFrom(java.io.InputStream stream, Filter<ArchivePath> filter)Imports provided stream as aArchive.private ZipImporterZipImporterImpl. importFrom(java.util.zip.ZipFile file, Filter<ArchivePath> filter) -
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 classBasicPathA 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 ArchivePathBasicPath. getParent()Obtains the parent of this Path, if exists, else null.(package private) static ArchivePathPathUtil. getParent(ArchivePath path)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 intBasicPath. compareTo(ArchivePath path)(package private) static ArchivePathPathUtil. getParent(ArchivePath path)Obtains the parent of this Path, if exists, else null.Constructors in org.jboss.shrinkwrap.impl.base.path with parameters of type ArchivePath Constructor Description BasicPath(java.lang.String basePath, ArchivePath context)Creates a new Path using the specified base and specified relative context.BasicPath(ArchivePath basePath, java.lang.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
Fields in org.jboss.shrinkwrap.impl.base.spec declared as ArchivePath Modifier and Type Field Description private static ArchivePathEnterpriseArchiveImpl. PATH_APPLICATIONPath to the application resources.private static ArchivePathJavaArchiveImpl. PATH_CLASSESPath to the classes inside of the Archive.private static ArchivePathWebArchiveImpl. PATH_CLASSESPath to the classes inside of the Archive.private static ArchivePathEnterpriseArchiveImpl. PATH_LIBRARYPath to the application libraries.private static ArchivePathResourceAdapterArchiveImpl. PATH_LIBRARYPath to the application libraries.private static ArchivePathWebArchiveImpl. PATH_LIBRARYPath to the libraries inside of the Archive.private static ArchivePathEnterpriseArchiveImpl. PATH_MANIFESTPath to the manifests inside of the Archive.private static ArchivePathJavaArchiveImpl. PATH_MANIFESTPath to the manifests inside of the Archive.private static ArchivePathResourceAdapterArchiveImpl. PATH_MANIFESTPath to the manifests inside of the Archive.private static ArchivePathWebArchiveImpl. PATH_MANIFESTPath to the manifests inside of the Archive.private static ArchivePathEnterpriseArchiveImpl. PATH_MODULEPath to the application modules.private static ArchivePathEnterpriseArchiveImpl. PATH_RESOURCEPath to the resources inside of the Archive.private static ArchivePathJavaArchiveImpl. PATH_RESOURCEPath to the resources inside of the Archive.private static ArchivePathResourceAdapterArchiveImpl. PATH_RESOURCEPath to the resources inside of the Archive.private static ArchivePathWebArchiveImpl. PATH_RESOURCEPath to the resources inside of the Archive.private static ArchivePathWebArchiveImpl. PATH_SERVICE_PROVIDERSPath to web archive service providers.private static ArchivePathWebArchiveImpl. PATH_WEBPath to the web inside of the Archive.private static ArchivePathWebArchiveImpl. PATH_WEB_INFPath to the WEB-INF inside of the Archive.Methods in org.jboss.shrinkwrap.impl.base.spec that return ArchivePath Modifier and Type Method Description protected ArchivePathEnterpriseArchiveImpl. getApplicationPath()protected ArchivePathEnterpriseArchiveImpl. getClassesPath()Classes are not supported by EnterpriseArchive.protected ArchivePathJavaArchiveImpl. getClassesPath()protected ArchivePathResourceAdapterArchiveImpl. getClassesPath()Classes are not supported by ResourceAdapterArchive.protected ArchivePathWebArchiveImpl. getClassesPath()Should be implemented to set the path for Class related resources.ArchivePathEnterpriseArchiveImpl. getLibraryPath()ArchivePathJavaArchiveImpl. getLibraryPath()Libraries are not supported by JavaArchive.ArchivePathResourceAdapterArchiveImpl. getLibraryPath()protected ArchivePathWebArchiveImpl. getLibraryPath()Should be implemented to set the path for Library related resources.protected ArchivePathEnterpriseArchiveImpl. getManifestPath()protected ArchivePathJavaArchiveImpl. getManifestPath()protected ArchivePathResourceAdapterArchiveImpl. getManifestPath()protected ArchivePathWebArchiveImpl. getManifestPath()Should be implemented to set the path for Manifest related resources.protected ArchivePathEnterpriseArchiveImpl. getModulePath()protected ArchivePathEnterpriseArchiveImpl. getResourcePath()protected ArchivePathJavaArchiveImpl. getResourcePath()protected ArchivePathResourceAdapterArchiveImpl. getResourcePath()protected ArchivePathWebArchiveImpl. getResourcePath()Should be implemented to set the path for Resource related resources.protected ArchivePathWebArchiveImpl. getServiceProvidersPath()Returns the path to web container service providersprotected ArchivePathWebArchiveImpl. getWebInfPath()Returns the path to WEB-INFprotected ArchivePathWebArchiveImpl. getWebPath()Returns the path to web resources -
Uses of ArchivePath in org.jboss.shrinkwrap.impl.nio.file
Constructors in org.jboss.shrinkwrap.impl.nio.file with parameters of type ArchivePath Constructor Description ShrinkWrapPath(ArchivePath path, ShrinkWrapFileSystem fileSystem)Constructs a new instance using the specified (required) path and backingShrinkWrapFileSystem
-