Class ZipFileEntryAsset
java.lang.Object
org.jboss.shrinkwrap.impl.base.asset.ZipFileEntryAsset
- All Implemented Interfaces:
Asset
Holds a reference to the ZipFile and the ZipEntry this Asset represents for lazy loading.
Used by the ZipImporter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a input stream for the resource content.
-
Field Details
-
file
-
entry
-
-
Constructor Details
-
ZipFileEntryAsset
-
-
Method Details
-
openStream
Description copied from interface:Asset
Get a input stream for the resource content. The caller is responsible for closing the stream.- Specified by:
openStream
in interfaceAsset
- Returns:
- A new open
InputStream
for each call
-