Package org.jboss.shrinkwrap.api.asset
Interface Asset
-
- All Known Subinterfaces:
NamedAsset
- All Known Implementing Classes:
ArchiveAsset
,ByteArrayAsset
,ClassAsset
,ClassLoaderAsset
,EmptyAsset
,FileAsset
,MemoryAsset
,MemoryNamedAsset
,ServiceProviderAsset
,StringAsset
,UrlAsset
,ZipFileEntryAsset
public interface Asset
Represents byte-based content. Typically stored within aNode
inside of anArchive
under a contextArchivePath
. May be added directly to allArchive
types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStream
openStream()
Get a input stream for the resource content.
-