Package org.jboss.shrinkwrap.api.asset
Interface NamedAsset
-
- All Superinterfaces:
Asset
- All Known Implementing Classes:
MemoryNamedAsset
public interface NamedAsset extends 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. This interface is intended to be a pluggable way to specify and create many instances of Assets that use the same name in a programmatic manner, mainly to remove duplication of having to specify the same resource name repeatedly.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Specifies the name (ArchivePath) for the archive-
Methods inherited from interface org.jboss.shrinkwrap.api.asset.Asset
openStream
-
-