Package org.ametys.core.cocoon.source
Class ZipSource
- java.lang.Object
 - 
- org.apache.excalibur.source.impl.AbstractSource
 - 
- org.ametys.core.cocoon.source.ZipSource
 
 
 
- 
- All Implemented Interfaces:
 Source
public class ZipSource extends AbstractSource
Implementation of a Source giving access to a zip entry 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Releases resources associated with this ZipSource.booleanexists()InputStreamgetInputStream()- 
Methods inherited from class org.apache.excalibur.source.impl.AbstractSource
checkInfos, getContentLength, getInfos, getLastModified, getMimeType, getScheme, getURI, getValidity, refresh, setContentLength, setLastModified, setScheme, setSystemId 
 - 
 
 - 
 
- 
- 
Method Detail
- 
exists
public boolean exists()
 
- 
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
 getInputStreamin interfaceSource- Overrides:
 getInputStreamin classAbstractSource- Throws:
 IOException
 
- 
close
public void close()
Releases resources associated with this ZipSource. 
 - 
 
 -