Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(Archive, String, Class) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Add an archive under a specific context and maintain the archive name as context path.
- add(Archive, ArchivePath, Class) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Add an archive under a specific context and maintain the archive name as context path.
- add(Asset, String) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds the specified asset under the context denoted by the specified target
- add(Asset, String, String) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds the specified asset under the specified target (directory) using the specified name.
- add(Asset, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds the specified asset under the specified path into the target context
- add(Asset, ArchivePath, String) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds the specified asset under the specified target (directory) using the specified name.
- add(NamedAsset) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds the asset encapsulated within the specified
NamedAssetunder the encapsulated name and target (directory) - addAsApplicationResource(File) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsApplicationResource(File, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsApplicationResource(File, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsApplicationResource(Package, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds the resource as a resource to the container, returning the container itself.
- addAsApplicationResource(Package, String, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds the resource as a resource to a specific path inside the container, returning the container itself.
- addAsApplicationResource(Package, String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds the resource as a resource to a specific path inside the container, returning the container itself.
- addAsApplicationResource(String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds a resource to this
Archives application context. - addAsApplicationResource(String, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds a resource to this
Archives application context. - addAsApplicationResource(String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds a resource to this
Archives application context. - addAsApplicationResource(URL, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsApplicationResource(URL, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsApplicationResource(Asset, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsApplicationResource(Asset, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsApplicationResources(Package, String...) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds the resources inside the package as multiple resources to the container, returning the container itself.
- addAsDirectories(String...) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds the specified directories.
- addAsDirectories(ArchivePath...) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds the specified directories.
- addAsDirectory(String) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds the specified directory.
- addAsDirectory(ArchivePath) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds the specified directory.
- addAsLibraries(File...) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
- addAsLibraries(String...) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Add multiple resources to this
Archiveas libraries to the container, returning the container itself. - addAsLibraries(Collection) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
- addAsLibraries(Archive...) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
- addAsLibraries(Archive[]...) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
- addAsLibrary(File) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the
Fileas a library to the container, returning the container itself. - addAsLibrary(File, String) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the
Fileas a library to the container, returning the container itself. - addAsLibrary(File, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the
Fileas a library to the container, returning the container itself. - addAsLibrary(String) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the resource as a library to the container, returning the container itself.
- addAsLibrary(String, String) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the resource as a library to the container, returning the container itself.
- addAsLibrary(String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the resource as a library to the container, returning the container itself.
- addAsLibrary(URL, String) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the
URLas a library to the container, returning the container itself. - addAsLibrary(URL, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the
URLas a library to the container, returning the container itself. - addAsLibrary(Archive) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
- addAsLibrary(Asset, String) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the
Assetas a library to the container, returning the container itself. - addAsLibrary(Asset, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.LibraryContainer
-
Adds the
Assetas a library to the container, returning the container itself. - addAsManifestResource(File) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
Fileas a Manifest resource to the container, returning the container itself. - addAsManifestResource(File, String) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
Fileas a Manifest resource to the container, returning the container itself. - addAsManifestResource(File, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
Fileas a Manifest resource to the container, returning the container itself. - addAsManifestResource(Package, String) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the resource as a resource to the container, returning the container itself.
- addAsManifestResource(Package, String, String) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the resource as a resource to a specific path inside the container, returning the container itself.
- addAsManifestResource(Package, String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the resource as a resource to a specific path inside the container, returning the container itself.
- addAsManifestResource(String) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the resource as a Manifest resource to the container, returning the container itself.
- addAsManifestResource(String, String) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the resource as a Manifest resource to the container, returning the container itself.
- addAsManifestResource(String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the resource as a Manifest resource to the container, returning the container itself.
- addAsManifestResource(URL, String) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
URLas a Manifest resource to the container, returning the container itself. - addAsManifestResource(URL, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
URLas a Manifest resource to the container, returning the container itself. - addAsManifestResource(Asset, String) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
Assetas a Manifest resource to the container, returning the container itself. - addAsManifestResource(Asset, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
Assetas a Manifest resource to the container, returning the container itself. - addAsManifestResources(Package, String...) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the resources inside the package as multiple resources to the container, returning the container itself.
- addAsModule(File) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsModule(File, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsModule(File, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsModule(String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds a resource to this
Archives module context. - addAsModule(String, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds a resource to this
Archives module context. - addAsModule(String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds a resource to this
Archives module context. - addAsModule(URL, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsModule(URL, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsModule(Archive) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds an archive to this
Archives module context. - addAsModule(Asset, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsModule(Asset, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsModules(File...) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- addAsModules(String...) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds the specified resources to this
Archives module context. - addAsModules(Archive...) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds the specified archives to this
Archives module context. - addAsResource(File) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the
Fileas a resource to the container, returning the container itself. - addAsResource(File, String) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the
Fileas a resource to the container, returning the container itself. - addAsResource(File, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the
Fileas a resource to the container, returning the container itself. - addAsResource(Package, String) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the resource as a resource to the container, returning the container itself.
- addAsResource(Package, String, String) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the resource as a resource to a specific path inside the container, returning the container itself.
- addAsResource(Package, String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the resource as a resource to a specific path inside the container, returning the container itself.
- addAsResource(String) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the resource as a resource to the container, returning the container itself.
- addAsResource(String, String) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the resource as a resource to the container, returning the container itself.
- addAsResource(String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the resource with the specified name to the container, returning the container itself.
- addAsResource(String, ArchivePath, ClassLoader) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the resource as a resource to the container, returning the container itself.
- addAsResource(URL, String) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the
URLas a resource to the container, returning the container itself. - addAsResource(URL, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the
URLas a resource to the container, returning the container itself. - addAsResource(Asset, String) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the
Assetas a resource to the container, returning the container itself. - addAsResource(Asset, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the
Assetas a resource to the container, returning the container itself. - addAsResources(Package, String...) - Method in interface org.jboss.shrinkwrap.api.container.ResourceContainer
-
Adds the resources inside the package as multiple resources to the container, returning the container itself.
- addAsServiceProvider(Class, Class...) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds a META-INF/services/ServiceInterfaceName
Assetrepresenting this service. - addAsServiceProvider(String, String...) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds a META-INF/services/ServiceInterfaceName
Assetrepresenting this service. - addAsServiceProviderAndClasses(Class, Class...) - Method in interface org.jboss.shrinkwrap.api.container.ServiceProviderContainer
-
Adds a META-INF/services/ServiceInterfaceName
Assetand the classes related to the service to the archive. - addAsWebInfResource(File) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Fileas a WEB-INF resource to the container, returning the container itself. - addAsWebInfResource(File, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Fileas a WEB-INF resource to the container, returning the container itself. - addAsWebInfResource(File, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Fileas a WEB-INF resource to the container, returning the container itself. - addAsWebInfResource(Package, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a WEB-INF resource to the container, returning the container itself.
- addAsWebInfResource(Package, String, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a WEB-INF resource to a specific path inside the container, returning the container itself.
- addAsWebInfResource(Package, String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a WEB-INF resource to a specific path inside the container, returning the container itself.
- addAsWebInfResource(String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a WEB-INF resource to the container, returning the container itself.
- addAsWebInfResource(String, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a WEB-INF resource to the container, returning the container itself.
- addAsWebInfResource(String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a WEB-INF resource to the container, returning the container itself.
- addAsWebInfResource(URL, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
URLas a WEB-INF resource to the container, returning the container itself. - addAsWebInfResource(URL, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
URLas a WEB-INF resource to the container, returning the container itself. - addAsWebInfResource(Asset, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Assetas a WEB-INF resource to the container, returning the container itself. - addAsWebInfResource(Asset, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Assetas a WEB-INF resource to the container, returning the container itself. - addAsWebInfResources(Package, String...) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resources inside the package as multiple WEB-INF resources to the container, returning the container itself.
- addAsWebResource(File) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Fileas a Web resource to the container, returning the container itself. - addAsWebResource(File, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Fileas a Web resource to the container, returning the container itself. - addAsWebResource(File, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Fileas a Web resource to the container, returning the container itself. - addAsWebResource(Package, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a resource to the container, returning the container itself.
- addAsWebResource(Package, String, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a resource to a specific path inside the container, returning the container itself.
- addAsWebResource(Package, String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a resource to a specific path inside the container, returning the container itself.
- addAsWebResource(String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a Web resource to the container, returning the container itself.
- addAsWebResource(String, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a Web resource to the container, returning the container itself.
- addAsWebResource(String, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as a Web resource to the container, returning the container itself.
- addAsWebResource(URL, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
URLas a Web resource to the container, returning the container itself. - addAsWebResource(URL, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
URLas a Web resource to the container, returning the container itself. - addAsWebResource(Asset, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Assetas a Web resource to the container, returning the container itself. - addAsWebResource(Asset, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Assetas a Web resource to the container, returning the container itself. - addAsWebResources(Package, String...) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resources inside the package as multiple resources to the container, returning the container itself.
- addClass(Class) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- addClass(String) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
-
Adds the
Class, and all member (inner)Classes, with the specified fully-qualified name, loaded by the Thread ContextClassLoader, to theArchive. - addClass(String, ClassLoader) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
-
Adds the
Class, and all member (inner) @link{Class}es, with the specified fully-qualified name, loaded by the specifiedClassLoader, to theArchive. - addClasses(Class...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- addDefaultPackage() - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- addHandlers(ArchiveEventHandler...) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Adds an array of handlers for callback-based operations.
- addManifest() - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds a default generated MANIFEST.MF manifest to the current archive.
- addOverride(Class, Class) - Method in interface org.jboss.shrinkwrap.api.ExtensionLoader
-
Add an Override to the normal Extension loading.
- addPackage(Package) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- addPackage(String) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- addPackages(boolean, Package...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- addPackages(boolean, String...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- addPackages(boolean, Filter, Package...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- addPackages(boolean, Filter, String...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- Archive<T> - Interface in org.jboss.shrinkwrap.api
-
Represents a collection of resources which may be constructed programmatically.
- ArchiveAsset - Class in org.jboss.shrinkwrap.api.asset
-
An
Assetrepresenting anArchive; a specifiedStreamExportertype will be used to fulfill theAsset.openStream()contract. - ArchiveAsset(Archive, Class) - Constructor for class org.jboss.shrinkwrap.api.asset.ArchiveAsset
-
Creates a new instance wrapping the specified
Archive, which will use the specifiedStreamExporterto represent the archive as anInputStreaminAsset.openStream(). - ArchiveEvent - Class in org.jboss.shrinkwrap.api
- ArchiveEvent(ArchivePath, Asset) - Constructor for class org.jboss.shrinkwrap.api.ArchiveEvent
- ArchiveEventHandler - Interface in org.jboss.shrinkwrap.api
- ArchiveExportException - Exception Class in org.jboss.shrinkwrap.api.exporter
-
Exception thrown when an error occurs exporting an Archive.
- ArchiveExportException(String) - Constructor for exception class org.jboss.shrinkwrap.api.exporter.ArchiveExportException
- ArchiveExportException(String, Throwable) - Constructor for exception class org.jboss.shrinkwrap.api.exporter.ArchiveExportException
- ArchiveExportException(Throwable) - Constructor for exception class org.jboss.shrinkwrap.api.exporter.ArchiveExportException
- ArchiveFactory - Class in org.jboss.shrinkwrap.api
-
Responsible for creating
Archives, which may be presented to the caller in a designatedAssignableview. - ArchiveFormat - Enum in org.jboss.shrinkwrap.api
-
Supported archive formats known by the base implementation
- ArchiveImportException - Exception Class in org.jboss.shrinkwrap.api.importer
-
Denotes an unexpected error was encountered while importing an Archive.
- ArchiveImportException(String, Throwable) - Constructor for exception class org.jboss.shrinkwrap.api.importer.ArchiveImportException
- ArchiveImportException(Throwable) - Constructor for exception class org.jboss.shrinkwrap.api.importer.ArchiveImportException
- ArchivePath - Interface in org.jboss.shrinkwrap.api
- ArchivePaths - Class in org.jboss.shrinkwrap.api
-
A Factory for
ArchivePathcreation. - as(Class) - Method in interface org.jboss.shrinkwrap.api.Assignable
-
Wraps an Archive in a different 'view'.
- asByteArray(InputStream) - Static method in class org.jboss.shrinkwrap.api.asset.IOUtilDelegator
-
Deprecated.Delegates to
ByteArrayIOUtil.asByteArray(java.io.InputStream) - asByteArray(InputStream) - Static method in class org.jboss.shrinkwrap.api.internal.ByteArrayIOUtil
-
Obtains the contents of the specified stream as a byte array
- Asset - Interface in org.jboss.shrinkwrap.api.asset
-
Represents byte-based content.
- Assignable - Interface in org.jboss.shrinkwrap.api
-
General interface for representing entities such as
Archives, importers and exporters as different extension types.
B
- build() - Method in class org.jboss.shrinkwrap.api.ConfigurationBuilder
-
Builds a new
Configurationusing the properties contained in this builder. - ByteArrayAsset - Class in org.jboss.shrinkwrap.api.asset
-
Implementation of an
Assetbacked by a byte array - ByteArrayAsset(byte[]) - Constructor for class org.jboss.shrinkwrap.api.asset.ByteArrayAsset
-
Creates a new
Assetinstance backed by the specified byte array - ByteArrayAsset(InputStream) - Constructor for class org.jboss.shrinkwrap.api.asset.ByteArrayAsset
-
Creates a new
Assetinstance backed by the bytes contained in the specifiedInputStream - ByteArrayIOUtil - Class in org.jboss.shrinkwrap.api.internal
-
Utility class that helps get byte array from
InputStream. - ByteArrayIOUtil() - Constructor for class org.jboss.shrinkwrap.api.internal.ByteArrayIOUtil
C
- ClassAsset - Class in org.jboss.shrinkwrap.api.asset
-
ClassAsset
- ClassAsset(Class) - Constructor for class org.jboss.shrinkwrap.api.asset.ClassAsset
-
Load any class as a resource.
- ClassContainer<T> - Interface in org.jboss.shrinkwrap.api.container
-
Defines the contract for a component capable of storing Java Classes.
- ClassLoaderAsset - Class in org.jboss.shrinkwrap.api.asset
-
ClassloaderAsset
- ClassLoaderAsset(String) - Constructor for class org.jboss.shrinkwrap.api.asset.ClassLoaderAsset
-
Load a named resource using the current threads context classloader.
- ClassLoaderAsset(String, ClassLoader) - Constructor for class org.jboss.shrinkwrap.api.asset.ClassLoaderAsset
-
Load a named resource using the given classloader.
- classLoaders(Iterable) - Method in class org.jboss.shrinkwrap.api.ConfigurationBuilder
-
Sets the
ClassLoaderused in resolving extension implementations by theExtensionLoader; other tasks requiring a CL by theArchive - ClassLoaderSearchUtil - Class in org.jboss.shrinkwrap.api.internal
-
Utilities to search a series of
ClassLoaders for aClassby name. - ClassLoaderSearchUtilDelegator - Class in org.jboss.shrinkwrap.api
-
Deprecated, for removal: This API element is subject to removal in a future version.Internal ShrinkWrap utility retained only for backward compatibility; scheduled for removal. Do not use.
- close() - Method in class org.jboss.shrinkwrap.api.asset.MemoryAsset
- close() - Method in class org.jboss.shrinkwrap.api.classloader.ShrinkWrapClassLoader
- close() - Method in class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
- Configuration - Class in org.jboss.shrinkwrap.api
-
Encapsulates all configuration for a given
Domain. - ConfigurationBuilder - Class in org.jboss.shrinkwrap.api
-
Mutable construction object for new instances of
Configuration. - ConfigurationBuilder() - Constructor for class org.jboss.shrinkwrap.api.ConfigurationBuilder
-
Creates a new builder initialized to defaults (null) values.
- contains(String) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Denotes whether this archive contains a resource at the specified path
- contains(ArchivePath) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Denotes whether this archive contains a resource at the specified path
- create(Class) - Method in class org.jboss.shrinkwrap.api.ArchiveFactory
-
Creates a new archive of the specified type.
- create(Class) - Static method in class org.jboss.shrinkwrap.api.ShrinkWrap
-
Creates a new archive of the specified type.
- create(Class, String) - Method in class org.jboss.shrinkwrap.api.ArchiveFactory
-
Creates a new archive of the specified type.
- create(Class, String) - Static method in class org.jboss.shrinkwrap.api.ShrinkWrap
-
Creates a new archive of the specified type.
- create(String) - Static method in class org.jboss.shrinkwrap.api.ArchivePaths
-
Creates a new
ArchivePathwith the specified context - create(String, String) - Static method in class org.jboss.shrinkwrap.api.ArchivePaths
-
Creates a new
ArchivePathusing the specified base and specified relative context. - create(String, ArchivePath) - Static method in class org.jboss.shrinkwrap.api.ArchivePaths
-
Creates a new
ArchivePathusing the specified base and specified relative context. - create(ArchivePath, String) - Static method in class org.jboss.shrinkwrap.api.ArchivePaths
-
Creates a new
ArchivePathusing the specified base and specified relative context. - create(ArchivePath, ArchivePath) - Static method in class org.jboss.shrinkwrap.api.ArchivePaths
-
Creates a new
ArchivePathusing the specified base and specified relative context. - createDomain() - Static method in class org.jboss.shrinkwrap.api.ShrinkWrap
-
Creates a new
Domaincontaining a defaultConfiguration. - createDomain(Configuration) - Static method in class org.jboss.shrinkwrap.api.ShrinkWrap
-
Creates a new
Domaincontaining configuration properties from the suppliedConfiguration. - createDomain(ConfigurationBuilder) - Static method in class org.jboss.shrinkwrap.api.ShrinkWrap
-
Creates a new
Domaincontaining configuration properties from the suppliedConfigurationBuilder. - createFromZipFile(Class, File) - Method in class org.jboss.shrinkwrap.api.ArchiveFactory
-
Creates a new archive of the specified type as imported from the specified
File. - createFromZipFile(Class, File) - Static method in class org.jboss.shrinkwrap.api.ShrinkWrap
-
Creates a new archive of the specified type as imported from the specified
File.
D
- DEFAULT_MANIFEST_NAME - Static variable in interface org.jboss.shrinkwrap.api.container.ManifestContainer
- delete(String) - Method in interface org.jboss.shrinkwrap.api.Archive
- delete(ArchivePath) - Method in interface org.jboss.shrinkwrap.api.Archive
- deleteClass(Class) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- deleteClass(String) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
-
Deletes the
Class, and all member (inner)Classes, with the specified fully-qualified name, loaded by the Thread ContextClassLoader, from theArchive. - deleteClasses(Class...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- deleteDefaultPackage() - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- deletePackage(Package) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- deletePackage(String) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- deletePackages(boolean, Package...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- deletePackages(boolean, String...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- deletePackages(boolean, Filter, Package...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- deletePackages(boolean, Filter, String...) - Method in interface org.jboss.shrinkwrap.api.container.ClassContainer
- Domain - Class in org.jboss.shrinkwrap.api
-
Encapsulates a shared
Configurationto be used by allArchives created by thisDomain'sArchiveFactory.
E
- EmptyAsset - Enum in org.jboss.shrinkwrap.api.asset
-
Implementation of a
Assethaving empty content. - EnterpriseArchive - Interface in org.jboss.shrinkwrap.api.spec
-
Traditional EAR (Java Enterprise Archive) structure.
- EnterpriseContainer<T> - Interface in org.jboss.shrinkwrap.api.container
-
Defines the contract for a component capable of storing Enterprise related resources.
- exclude(Class...) - Static method in class org.jboss.shrinkwrap.api.Filters
- exclude(Package...) - Static method in class org.jboss.shrinkwrap.api.Filters
- exclude(String) - Static method in class org.jboss.shrinkwrap.api.Filters
- excludePaths(String...) - Static method in class org.jboss.shrinkwrap.api.Filters
-
Filterthat exclude allArchivePaths that match the given List of paths. - excludePaths(Collection) - Static method in class org.jboss.shrinkwrap.api.Filters
-
Filterthat exclude allArchivePaths that match the given List of paths. - executorService(ExecutorService) - Method in class org.jboss.shrinkwrap.api.ConfigurationBuilder
-
Sets the
ExecutorServiceto be used, returning this instance - ExplodedExporter - Interface in org.jboss.shrinkwrap.api.exporter
-
Exporter used to export an Archive as an exploded directory structure.
- ExplodedImporter - Interface in org.jboss.shrinkwrap.api.importer
-
Importer used to import Exploded directory structures into a
Archive - exportAsInputStream() - Method in interface org.jboss.shrinkwrap.api.exporter.StreamExporter
-
Exports this reference in an implementation-specific format represented by the returned new
InputStreaminstance - exportExploded(File) - Method in interface org.jboss.shrinkwrap.api.exporter.ExplodedExporter
-
Exports provided archive as an exploded directory structure.
- exportExploded(File, String) - Method in interface org.jboss.shrinkwrap.api.exporter.ExplodedExporter
-
Exports provided archive as an exploded directory structure.
- exportExplodedInto(File) - Method in interface org.jboss.shrinkwrap.api.exporter.ExplodedExporter
-
Exports provided archive as an exploded directory structure into the given directory.
- exportTo(File) - Method in interface org.jboss.shrinkwrap.api.exporter.StreamExporter
-
Exports provided archive as in an implementation-specific format, written to the specified
Filetarget. - exportTo(File, boolean) - Method in interface org.jboss.shrinkwrap.api.exporter.StreamExporter
-
Exports provided archive an implementation-specific format, written to the specified
Filetarget. - exportTo(OutputStream) - Method in interface org.jboss.shrinkwrap.api.exporter.StreamExporter
-
Exports provided archive in an implementation-specific format, written to the specified
OutputStreamtarget. - extensionLoader(ExtensionLoader) - Method in class org.jboss.shrinkwrap.api.ConfigurationBuilder
-
Sets the
ExtensionLoaderto be used, returning this instance - ExtensionLoader - Interface in org.jboss.shrinkwrap.api
-
ExtensionLoader
F
- FileAsset - Class in org.jboss.shrinkwrap.api.asset
- FileAsset(File) - Constructor for class org.jboss.shrinkwrap.api.asset.FileAsset
-
Load the specified File.
- FileExistsException - Exception Class in org.jboss.shrinkwrap.api.exporter
-
Thrown to denote that an export request to a particular
Filehas failed because the file specified already exists and should not be overwritten. - FileExistsException(String) - Constructor for exception class org.jboss.shrinkwrap.api.exporter.FileExistsException
- filter(Filter) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Obtains all assets matching given filter in this archive as a new Archive.
This is an alias for shallowCopy(Filter). - Filter<T> - Interface in org.jboss.shrinkwrap.api
-
Used to filter inputs to be added to the target
Archive. - Filters - Class in org.jboss.shrinkwrap.api
-
Factory class for the creation of new
Filterinstances. - findClassFromClassLoaders(String, Iterable) - Static method in class org.jboss.shrinkwrap.api.ClassLoaderSearchUtilDelegator
-
Deprecated.Finds a
Classby name using a series ofClassLoaders as the search path - findClassFromClassLoaders(String, Iterable) - Static method in class org.jboss.shrinkwrap.api.internal.ClassLoaderSearchUtil
-
Finds a
Classby name using a series ofClassLoaders as the search path - format(Archive) - Method in interface org.jboss.shrinkwrap.api.formatter.Formatter
-
Returns a formatted view of the specified archive
- format(Archive) - Method in enum org.jboss.shrinkwrap.api.formatter.Formatters
-
Returns a formatted view of the specified archive
- Formatter - Interface in org.jboss.shrinkwrap.api.formatter
-
A type capable of formatting an
Archiveinto human-readable style. - Formatters - Enum in org.jboss.shrinkwrap.api.formatter
- FS_ENV_KEY_ARCHIVE - Static variable in class org.jboss.shrinkwrap.api.nio2.file.ShrinkWrapFileSystems
-
Mapkey used to store aArchivewhen creating a newFileSystemviaFileSystems.newFileSystem(URI, Map)
G
- GenericArchive - Interface in org.jboss.shrinkwrap.api
-
Simple
Archiveextension which closes the generic context as a convenience to users not requiring any spec archive type. - get() - Method in interface org.jboss.shrinkwrap.api.ArchivePath
-
Obtains the context which this
ArchivePathrepresents - get(String) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Obtains the
Nodelocated at the specified path - get(ArchivePath) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Obtains the
Nodelocated at the specified path - getArchive() - Method in class org.jboss.shrinkwrap.api.asset.ArchiveAsset
-
Returns the archive this asset represents
- getArchiveFactory() - Method in class org.jboss.shrinkwrap.api.Domain
-
Obtains the
ArchiveFactoryfor this domain. - getArchiveFormatFromExtensionMapping(Class) - Method in interface org.jboss.shrinkwrap.api.ExtensionLoader
-
Gets the
ArchiveFormatfor the given type from the extensionMapping - getAsset() - Method in class org.jboss.shrinkwrap.api.ArchiveEvent
- getAsset() - Method in interface org.jboss.shrinkwrap.api.Node
- getAsType(Class, String) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Get a nested
Archiveas a specific type.
The found Archives must have been added as an Archive, no import is performed. - getAsType(Class, String, ArchiveFormat) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Get a nested
Archiveas a specific type using the specifiedArchiveFormat - getAsType(Class, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Get a nested
Archiveas a specific type.
The found Archives must have been added as an Archive, no import is performed. - getAsType(Class, ArchivePath, ArchiveFormat) - Method in interface org.jboss.shrinkwrap.api.Archive
- getAsType(Class, Filter) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Get all nested
Archivematching the filter as a specific type.
The found Archives must have been added as an Archive, no import is performed. - getAsType(Class, Filter, ArchiveFormat) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Get all nested
Archivematching the filter as a specific type using the specifiedArchiveFormat. - getChildren() - Method in interface org.jboss.shrinkwrap.api.Node
- getClassLoaders() - Method in class org.jboss.shrinkwrap.api.Configuration
- getClassLoaders() - Method in class org.jboss.shrinkwrap.api.ConfigurationBuilder
- getConfiguration() - Method in class org.jboss.shrinkwrap.api.Domain
-
Obtains the
Configurationassociated with thisDomain - getContent() - Method in interface org.jboss.shrinkwrap.api.Archive
-
Obtains all assets in this archive, along with their respective paths.
- getContent(Filter) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Obtains all assets matching given filter in this archive, along with its respective Path.
- getContents() - Method in class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
-
Obtain a copy of the contents of this
Channelas anInputStream - getDefaultDomain() - Static method in class org.jboss.shrinkwrap.api.ShrinkWrap
-
Returns a single domain with default configuration for use in applications with no explicit configuration or isolation requirements.
- getExecutorService() - Method in class org.jboss.shrinkwrap.api.Configuration
-
Deprecated.No longer used by the implementation, will be removed in SW 2.0
- getExecutorService() - Method in class org.jboss.shrinkwrap.api.ConfigurationBuilder
- getExtensionFromExtensionMapping(Class) - Method in interface org.jboss.shrinkwrap.api.ExtensionLoader
-
Gets the extension for the given type from the extensionMapping
- getExtensionLoader() - Method in class org.jboss.shrinkwrap.api.Configuration
- getExtensionLoader() - Method in class org.jboss.shrinkwrap.api.ConfigurationBuilder
- getHandledAsset() - Method in class org.jboss.shrinkwrap.api.ArchiveEvent
- getId() - Method in interface org.jboss.shrinkwrap.api.Archive
-
Obtains a globally-unique identifier for this
Archive - getName() - Method in interface org.jboss.shrinkwrap.api.Archive
-
Obtains the name of this archive (i.e.
- getName() - Method in class org.jboss.shrinkwrap.api.asset.MemoryNamedAsset
-
Specifies the name (ArchivePath) for the archive
- getName() - Method in interface org.jboss.shrinkwrap.api.asset.NamedAsset
-
Specifies the name (ArchivePath) for the archive
- getParent() - Method in interface org.jboss.shrinkwrap.api.ArchivePath
-
Obtains the parent of this Path, if exists, else null.
- getPath() - Method in class org.jboss.shrinkwrap.api.ArchiveEvent
- getPath() - Method in interface org.jboss.shrinkwrap.api.Node
- getRootUri(Archive) - Static method in class org.jboss.shrinkwrap.api.nio2.file.ShrinkWrapFileSystems
-
Constructs a new
URIwith the form: - getSource() - Method in class org.jboss.shrinkwrap.api.asset.ByteArrayAsset
-
Returns the underlying content.
- getSource() - Method in class org.jboss.shrinkwrap.api.asset.ClassAsset
-
Returns the loaded class.
- getSource() - Method in class org.jboss.shrinkwrap.api.asset.ClassLoaderAsset
-
Returns the loaded resource.
- getSource() - Method in enum org.jboss.shrinkwrap.api.asset.EmptyAsset
-
Returns the underlying content.
- getSource() - Method in class org.jboss.shrinkwrap.api.asset.FileAsset
-
Returns the loaded file.
- getSource() - Method in class org.jboss.shrinkwrap.api.asset.StringAsset
-
Returns the underlying content.
- getSource() - Method in class org.jboss.shrinkwrap.api.asset.UrlAsset
-
Returns the loaded URL.
H
- handle(ArchiveEvent) - Method in interface org.jboss.shrinkwrap.api.ArchiveEventHandler
-
CallBack when a
Assetis added to a specificArchivePath.
I
- IllegalArchivePathException - Exception Class in org.jboss.shrinkwrap.api
- IllegalArchivePathException(String) - Constructor for exception class org.jboss.shrinkwrap.api.IllegalArchivePathException
- IllegalArchivePathException(String, Throwable) - Constructor for exception class org.jboss.shrinkwrap.api.IllegalArchivePathException
- IllegalArchivePathException(Throwable) - Constructor for exception class org.jboss.shrinkwrap.api.IllegalArchivePathException
- IllegalOverwriteException - Exception Class in org.jboss.shrinkwrap.api
-
Exception thrown when trying to add an
Assetinto an archive under anArchivePathwhich is already taken by a directory. - IllegalOverwriteException(String) - Constructor for exception class org.jboss.shrinkwrap.api.IllegalOverwriteException
- IllegalOverwriteException(String, Throwable) - Constructor for exception class org.jboss.shrinkwrap.api.IllegalOverwriteException
- IllegalOverwriteException(Throwable) - Constructor for exception class org.jboss.shrinkwrap.api.IllegalOverwriteException
- importDirectory(File) - Method in interface org.jboss.shrinkwrap.api.importer.ExplodedImporter
-
Import a directory structure as an archive.
- importDirectory(File, Filter) - Method in interface org.jboss.shrinkwrap.api.importer.ExplodedImporter
-
Import a directory structure as an archive.
- importDirectory(String) - Method in interface org.jboss.shrinkwrap.api.importer.ExplodedImporter
-
Import a directory structure as an archive.
- importDirectory(String, Filter) - Method in interface org.jboss.shrinkwrap.api.importer.ExplodedImporter
-
Import a directory structure as an archive.
- importFrom(File) - Method in interface org.jboss.shrinkwrap.api.importer.StreamImporter
-
Imports provided File as a
Archive. - importFrom(File, Filter) - Method in interface org.jboss.shrinkwrap.api.importer.StreamImporter
-
Imports provided File as a
Archive. - importFrom(InputStream) - Method in interface org.jboss.shrinkwrap.api.importer.StreamImporter
-
Imports provided stream as a
Archive. - importFrom(InputStream, Filter) - Method in interface org.jboss.shrinkwrap.api.importer.StreamImporter
-
Imports provided stream as a
Archive. - importFrom(ZipFile) - Method in interface org.jboss.shrinkwrap.api.importer.ZipImporter
- importZip(ZipFile) - Method in interface org.jboss.shrinkwrap.api.importer.ZipImporter
-
Deprecated.
- importZip(ZipInputStream) - Method in interface org.jboss.shrinkwrap.api.importer.ZipImporter
-
Deprecated.
- include(Class...) - Static method in class org.jboss.shrinkwrap.api.Filters
- include(Package...) - Static method in class org.jboss.shrinkwrap.api.Filters
- include(String) - Static method in class org.jboss.shrinkwrap.api.Filters
- include(T) - Method in interface org.jboss.shrinkwrap.api.Filter
-
Called per operation in a multi add operation.
- includeAll() - Static method in class org.jboss.shrinkwrap.api.Filters
-
Filterthat includes allArchivePaths. - includePaths(String...) - Static method in class org.jboss.shrinkwrap.api.Filters
-
Filterthat include allArchivePaths that match the given List of paths. - includePaths(Collection) - Static method in class org.jboss.shrinkwrap.api.Filters
-
Filterthat include allArchivePaths that match the given List of paths. - INSTANCE - Enum constant in enum org.jboss.shrinkwrap.api.asset.EmptyAsset
- IOUtilDelegator - Class in org.jboss.shrinkwrap.api.asset
-
Deprecated, for removal: This API element is subject to removal in a future version.Internal ShrinkWrap utility retained only for backward compatibility; scheduled for removal. Do not use.
- IOUtilDelegator() - Constructor for class org.jboss.shrinkwrap.api.asset.IOUtilDelegator
-
Deprecated.
- isOpen() - Method in class org.jboss.shrinkwrap.api.asset.MemoryAsset
- isOpen() - Method in class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
J
- JavaArchive - Interface in org.jboss.shrinkwrap.api.spec
-
Traditional JAR (Java Archive) structure.
L
- LibraryContainer<T> - Interface in org.jboss.shrinkwrap.api.container
-
Defines the contract for a component capable of storing Libraries.
- load(Class, Archive) - Method in interface org.jboss.shrinkwrap.api.ExtensionLoader
-
Load a Extension.
M
- ManifestContainer<T> - Interface in org.jboss.shrinkwrap.api.container
-
Defines the contract for a component capable of storing Manifest related resources.
- MemoryAsset - Class in org.jboss.shrinkwrap.api.asset
-
An
Assetimplementation backed by an internal memory representation; able to be directly added to anArchive, and supports all operations designated by the NIO.2SeekableByteChannelAPI. - MemoryAsset() - Constructor for class org.jboss.shrinkwrap.api.asset.MemoryAsset
-
Creates a new instance with internal memory buffer initially sized at 0 and at position 0, capable of holding a maximum of
Integer.MAX_VALUEbytes. - MemoryNamedAsset - Class in org.jboss.shrinkwrap.api.asset
-
MemoryAssetimplementation complying to theNamedAssetAPI; thread-safe. - MemoryNamedAsset(String) - Constructor for class org.jboss.shrinkwrap.api.asset.MemoryNamedAsset
-
Sets the name of this
MemoryNamedAssetto the specified (required)Stringname - MemoryNamedAsset(Path) - Constructor for class org.jboss.shrinkwrap.api.asset.MemoryNamedAsset
- MemoryNamedAsset(ArchivePath) - Constructor for class org.jboss.shrinkwrap.api.asset.MemoryNamedAsset
-
Sets the name of this
MemoryNamedAssetviaArchivePath.get()of the specified (required)ArchivePath - merge(Archive) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Merge the contents from an existing archive without maintaining the archive name in the context path.
- merge(Archive, String) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.
- merge(Archive, String, Filter) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.
- merge(Archive, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.
- merge(Archive, ArchivePath, Filter) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.
- merge(Archive, Filter) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Merge the contents from an existing archive without maintaining the archive name in the context path.
- move(String, String) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Moves the asset under the source path to the target path.
- move(ArchivePath, ArchivePath) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Moves the asset under the source path to the target path.
N
- NamedAsset - Interface in org.jboss.shrinkwrap.api.asset
-
Pluggable separation between an Asset and a default name used to add Assets into an archive without having to explicitly supply the name (
ArchivePath) each time. - newExceptionInstance(Class) - Static method in class org.jboss.shrinkwrap.api.UnknownExtensionTypeExceptionDelegator
-
Deprecated.
- newFileSystem(Archive) - Static method in class org.jboss.shrinkwrap.api.nio2.file.ShrinkWrapFileSystems
-
Creates a new file system for the given
Archive; in effect invoking this method is equal to invokingFileSystems.newFileSystem(URI, Map), passing the value ofShrinkWrapFileSystems.getRootUri(Archive)as theURIand the specified archive as a value in aMapunder the keyShrinkWrapFileSystems.FS_ENV_KEY_ARCHIVE - Node - Interface in org.jboss.shrinkwrap.api
-
Represents an entry inside an
Archive.
O
- openStream() - Method in class org.jboss.shrinkwrap.api.asset.ArchiveAsset
-
Get an input stream for the resource content.
- openStream() - Method in interface org.jboss.shrinkwrap.api.asset.Asset
-
Get an input stream for the resource content.
- openStream() - Method in class org.jboss.shrinkwrap.api.asset.ByteArrayAsset
- openStream() - Method in class org.jboss.shrinkwrap.api.asset.ClassAsset
-
Converts the Class name into a Resource URL and uses the ClassloaderResource for loading the Class.
- openStream() - Method in class org.jboss.shrinkwrap.api.asset.ClassLoaderAsset
-
Opens up the given resource as a stream.
- openStream() - Method in enum org.jboss.shrinkwrap.api.asset.EmptyAsset
- openStream() - Method in class org.jboss.shrinkwrap.api.asset.FileAsset
-
Opens a new FileInputStream for the given File.
- openStream() - Method in class org.jboss.shrinkwrap.api.asset.MemoryAsset
-
Get an input stream for the resource content.
- openStream() - Method in class org.jboss.shrinkwrap.api.asset.StringAsset
- openStream() - Method in class org.jboss.shrinkwrap.api.asset.UrlAsset
-
Open the
URLstream. - org.jboss.shrinkwrap.api - module org.jboss.shrinkwrap.api
-
ShrinkWrap API module - public API for creating Java archives.
- org.jboss.shrinkwrap.api - package org.jboss.shrinkwrap.api
- org.jboss.shrinkwrap.api.asset - package org.jboss.shrinkwrap.api.asset
- org.jboss.shrinkwrap.api.classloader - package org.jboss.shrinkwrap.api.classloader
- org.jboss.shrinkwrap.api.container - package org.jboss.shrinkwrap.api.container
- org.jboss.shrinkwrap.api.exporter - package org.jboss.shrinkwrap.api.exporter
- org.jboss.shrinkwrap.api.formatter - package org.jboss.shrinkwrap.api.formatter
- org.jboss.shrinkwrap.api.importer - package org.jboss.shrinkwrap.api.importer
- org.jboss.shrinkwrap.api.internal - package org.jboss.shrinkwrap.api.internal
- org.jboss.shrinkwrap.api.nio2.file - package org.jboss.shrinkwrap.api.nio2.file
- org.jboss.shrinkwrap.api.serialization - package org.jboss.shrinkwrap.api.serialization
- org.jboss.shrinkwrap.api.spec - package org.jboss.shrinkwrap.api.spec
P
- position() - Method in class org.jboss.shrinkwrap.api.asset.MemoryAsset
- position() - Method in class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
- position(long) - Method in class org.jboss.shrinkwrap.api.asset.MemoryAsset
- position(long) - Method in class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
- PROTOCOL - Static variable in class org.jboss.shrinkwrap.api.nio2.file.ShrinkWrapFileSystems
-
Protocol portion of a
URIto ShrinkWrapFileSystems
R
- read(ByteBuffer) - Method in class org.jboss.shrinkwrap.api.asset.MemoryAsset
- read(ByteBuffer) - Method in class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
- ResourceAdapterArchive - Interface in org.jboss.shrinkwrap.api.spec
-
Traditional RAR (Resource Adapter Archive) structure.
- ResourceAdapterContainer<T> - Interface in org.jboss.shrinkwrap.api.container
-
Defines the contract for a component capable of storing Resource adapter resources.
- ResourceContainer<T> - Interface in org.jboss.shrinkwrap.api.container
-
Defines the contract for a component capable of storing a series of
ClassLoader,File, andURL-based Assets as resources within an archive. - root() - Static method in class org.jboss.shrinkwrap.api.ArchivePaths
-
Creates a new
ArchivePathrepresenting the root path (/).
S
- SeekableInMemoryByteChannel - Class in org.jboss.shrinkwrap.api.nio2.file
-
SeekableByteChannelimplementation backed by an auto-resizing byte array; thread-safe. - SeekableInMemoryByteChannel() - Constructor for class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
-
Creates a new instance with 0 size and 0 position, and open.
- SEPARATOR - Static variable in interface org.jboss.shrinkwrap.api.ArchivePath
-
Separator character
- SEPARATOR_STRING - Static variable in interface org.jboss.shrinkwrap.api.ArchivePath
-
Separator character as a
String - SerializableView - Interface in org.jboss.shrinkwrap.api.serialization
-
Serializableview of anArchive. - ServiceProviderContainer<T> - Interface in org.jboss.shrinkwrap.api.container
-
Defines the contract for a component capable of storing service provider related resources.
- setApplicationXML(File) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- setApplicationXML(Package, String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds a resource inside the package to this
Archiveas application.xml. - setApplicationXML(String) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
-
Adds a resource to this
Archiveas application.xml. - setApplicationXML(URL) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- setApplicationXML(Asset) - Method in interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
- setHandledAsset(Asset) - Method in class org.jboss.shrinkwrap.api.ArchiveEvent
- setManifest(File) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
Fileas MANIFEST.MF to the container, returning the container itself. - setManifest(Package, String) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the resource inside the package as a MANIFEST.MF to the container, returning the container itself.
- setManifest(String) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the resource as MANIFEST.MF to the container, returning the container itself.
- setManifest(URL) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
URLas MANIFEST.MF to the container, returning the container itself. - setManifest(Asset) - Method in interface org.jboss.shrinkwrap.api.container.ManifestContainer
-
Adds the
Assetas MANIFEST.MF to the container, returning the container itself. - setResourceAdapterXML(File) - Method in interface org.jboss.shrinkwrap.api.container.ResourceAdapterContainer
-
Adds the
Fileas ra.xml to the container, returning the container itself. - setResourceAdapterXML(Package, String) - Method in interface org.jboss.shrinkwrap.api.container.ResourceAdapterContainer
-
Adds the resource inside the package as ra.xml to the container, returning the container itself.
- setResourceAdapterXML(String) - Method in interface org.jboss.shrinkwrap.api.container.ResourceAdapterContainer
-
Adds the resource as ra.xml to the container, returning the container itself.
- setResourceAdapterXML(URL) - Method in interface org.jboss.shrinkwrap.api.container.ResourceAdapterContainer
-
Adds the
URLas ra.xml to the container, returning the container itself. - setResourceAdapterXML(Asset) - Method in interface org.jboss.shrinkwrap.api.container.ResourceAdapterContainer
-
Adds the
Assetas ra.xml to the container, returning the container itself. - setWebXML(File) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Fileas web.xml to the container, returning the container itself. - setWebXML(Package, String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource inside the package as web.xml to the container, returning the container itself.
- setWebXML(String) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the resource as web.xml to the container, returning the container itself.
- setWebXML(URL) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
URLas web.xml to the container, returning the container itself. - setWebXML(Asset) - Method in interface org.jboss.shrinkwrap.api.container.WebContainer
-
Adds the
Assetas web.xml to the container, returning the container itself. - shallowCopy() - Method in interface org.jboss.shrinkwrap.api.Archive
-
Creates a shallow copy of this
Archive. - shallowCopy(Filter) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Creates a shallow copy of this
Archivebased on given filter. - ShrinkWrap - Class in org.jboss.shrinkwrap.api
-
Main entry point into the ShrinkWrap system.
- ShrinkWrapClassLoader - Class in org.jboss.shrinkwrap.api.classloader
-
Extension that will create a ClassLoader based on an Array of Archives.
- ShrinkWrapClassLoader(ClassLoader, String, Archive...) - Constructor for class org.jboss.shrinkwrap.api.classloader.ShrinkWrapClassLoader
-
Constructs a new ShrinkWrapClassLoader for the given
Archives. - ShrinkWrapClassLoader(ClassLoader, Archive...) - Constructor for class org.jboss.shrinkwrap.api.classloader.ShrinkWrapClassLoader
-
Constructs a new ShrinkWrapClassLoader for the given
Archives. - ShrinkWrapClassLoader(Archive...) - Constructor for class org.jboss.shrinkwrap.api.classloader.ShrinkWrapClassLoader
-
Constructs a new ShrinkWrapClassLoader for the specified
Archives using the default delegation parentClassLoader. - ShrinkWrapFileSystems - Class in org.jboss.shrinkwrap.api.nio2.file
-
Convenience API bridge to the NIO.2
FileSystemssupport for ShrinkWrapArchives. - SIMPLE - Enum constant in enum org.jboss.shrinkwrap.api.formatter.Formatters
- size() - Method in class org.jboss.shrinkwrap.api.asset.MemoryAsset
- size() - Method in class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
- StreamExporter - Interface in org.jboss.shrinkwrap.api.exporter
-
Generic exporter capable of representing an
Assignableas anInputStream, or writing its contents to a providedOutputStreamorFile. - StreamImporter<I> - Interface in org.jboss.shrinkwrap.api.importer
-
Generic importer capable of representing an
Assignableas an entity capable of reading from anInputStream, or file type. - StringAsset - Class in org.jboss.shrinkwrap.api.asset
-
Implementation of an
Assetbacked by a String - StringAsset(String) - Constructor for class org.jboss.shrinkwrap.api.asset.StringAsset
-
Creates a new
Assetinstance backed by the specified String
T
- TAR - Enum constant in enum org.jboss.shrinkwrap.api.ArchiveFormat
- TAR_BZ - Enum constant in enum org.jboss.shrinkwrap.api.ArchiveFormat
- TAR_GZ - Enum constant in enum org.jboss.shrinkwrap.api.ArchiveFormat
- TarBz2Exporter - Interface in org.jboss.shrinkwrap.api.exporter
-
Exporter used to represent an
Assignablein TAR format encoded w/ BZip2 compression - TarBz2Importer - Interface in org.jboss.shrinkwrap.api.importer
-
Assignabletype capable of importing TAR archive content encoded in BZip2 compression. - TarExporter - Interface in org.jboss.shrinkwrap.api.exporter
-
Exporter used to represent an
Assignablein TAR format - TarGzExporter - Interface in org.jboss.shrinkwrap.api.exporter
-
Exporter used to represent an
Assignablein TAR format encoded w/ GZIP compression - TarGzImporter - Interface in org.jboss.shrinkwrap.api.importer
-
Assignabletype capable of importing TAR archive content encoded in GZIP compression. - TarImporter - Interface in org.jboss.shrinkwrap.api.importer
-
Assignabletype capable of importing TAR archive content - toString() - Method in interface org.jboss.shrinkwrap.api.Archive
-
Acts as a shorthand for
Archive.toString(Formatter)where theFormatters.SIMPLEis leveraged. - toString() - Method in class org.jboss.shrinkwrap.api.asset.ByteArrayAsset
- toString() - Method in enum org.jboss.shrinkwrap.api.asset.EmptyAsset
- toString() - Method in class org.jboss.shrinkwrap.api.asset.FileAsset
- toString() - Method in class org.jboss.shrinkwrap.api.asset.StringAsset
- toString() - Method in class org.jboss.shrinkwrap.api.asset.UrlAsset
- toString(boolean) - Method in interface org.jboss.shrinkwrap.api.Archive
-
If "true" is specified, acts as a shorthand for
Archive.toString(Formatter)where theFormatters.VERBOSEis leveraged. - toString(Formatter) - Method in interface org.jboss.shrinkwrap.api.Archive
- truncate(long) - Method in class org.jboss.shrinkwrap.api.asset.MemoryAsset
- truncate(long) - Method in class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
U
- UNKNOWN - Enum constant in enum org.jboss.shrinkwrap.api.ArchiveFormat
- UnknownExtensionTypeException - Exception Class in org.jboss.shrinkwrap.api
-
Indicates that a default name cannot be generated for a given type because no extension mapping has been configured via
ExtensionLoader.getExtensionFromExtensionMapping(Class). - UnknownExtensionTypeException(Class) - Constructor for exception class org.jboss.shrinkwrap.api.UnknownExtensionTypeException
-
Creates a new instance with message indicating the missing type
- UnknownExtensionTypeExceptionDelegator - Class in org.jboss.shrinkwrap.api
-
Deprecated, for removal: This API element is subject to removal in a future version.Internal ShrinkWrap utility retained only for backward compatibility; scheduled for removal. Do not use.
- UnknownExtensionTypeExceptionDelegator() - Constructor for class org.jboss.shrinkwrap.api.UnknownExtensionTypeExceptionDelegator
-
Deprecated.
- UrlAsset - Class in org.jboss.shrinkwrap.api.asset
- UrlAsset(URL) - Constructor for class org.jboss.shrinkwrap.api.asset.UrlAsset
-
Create a new resource with a
URLsource.
V
- valueOf(String) - Static method in enum org.jboss.shrinkwrap.api.ArchiveFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.shrinkwrap.api.asset.EmptyAsset
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jboss.shrinkwrap.api.formatter.Formatters
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jboss.shrinkwrap.api.ArchiveFormat
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jboss.shrinkwrap.api.asset.EmptyAsset
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jboss.shrinkwrap.api.formatter.Formatters
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERBOSE - Enum constant in enum org.jboss.shrinkwrap.api.formatter.Formatters
W
- WebArchive - Interface in org.jboss.shrinkwrap.api.spec
-
Traditional WAR (Java Web Archive) structure.
- WebContainer<T> - Interface in org.jboss.shrinkwrap.api.container
-
Defines the contract for a component capable of storing web-related resources.
- write(ByteBuffer) - Method in class org.jboss.shrinkwrap.api.asset.MemoryAsset
- write(ByteBuffer) - Method in class org.jboss.shrinkwrap.api.nio2.file.SeekableInMemoryByteChannel
- writeTo(OutputStream, Formatter) - Method in interface org.jboss.shrinkwrap.api.Archive
-
Prints the content of this
Archiveto the specifiedOutputStreamon the format defined by the specifiedFormatter.
Z
- ZIP - Enum constant in enum org.jboss.shrinkwrap.api.ArchiveFormat
- ZipExporter - Interface in org.jboss.shrinkwrap.api.exporter
-
Exporter used to represent an
Assignablein ZIP format. - ZipImporter - Interface in org.jboss.shrinkwrap.api.importer
-
Assignabletype capable of importing ZIP content. - ZipSerializableView - Interface in org.jboss.shrinkwrap.api.serialization
-
Serializableview of anArchivewhere contents are encoded in ZIP format during Serialization. - ZipStoredExporter - Interface in org.jboss.shrinkwrap.api.exporter
-
Exporter used to represent an
Assignablein ZIP format with STORED compression (none compression).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form