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
Implementation of a Source giving access to a zip entry
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.excalibur.source.impl.AbstractSource
checkInfos, getContentLength, getInfos, getLastModified, getMimeType, getScheme, getURI, getValidity, refresh, setContentLength, setLastModified, setScheme, setSystemId
-
Constructor Details
-
ZipSource
Instanciate a ZipSource- Parameters:
location
- the ZipSource URI, looking like : zip://path/to/file!path/to/entry
-
-
Method Details
-
exists
-
getInputStream
- Specified by:
getInputStream
in interfaceSource
- Overrides:
getInputStream
in classAbstractSource
- Throws:
IOException
-
close
Releases resources associated with this ZipSource.
-