ShrinkWrap Implementation Base 1.0.1

org.jboss.shrinkwrap.impl.base.asset
Class ZipFileEntryAsset

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.asset.ZipFileEntryAsset
All Implemented Interfaces:
Asset

public class ZipFileEntryAsset
extends Object
implements Asset

Holds a reference to the ZipFile and the ZipEntry this Asset represents for lazy loading. Used by the ZipImporter.

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
ZipFileEntryAsset(ZipFile file, ZipEntry entry)
           
 
Method Summary
 InputStream openStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipFileEntryAsset

public ZipFileEntryAsset(ZipFile file,
                         ZipEntry entry)
Method Detail

openStream

public InputStream openStream()
Specified by:
openStream in interface Asset

ShrinkWrap Implementation Base 1.0.1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.