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 void
close()
Releases resources associated with this ZipSource.boolean
exists()
InputStream
getInputStream()
-
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:
getInputStream
in interfaceSource
- Overrides:
getInputStream
in classAbstractSource
- Throws:
IOException
-
close
public void close()
Releases resources associated with this ZipSource.
-
-