org.apache.cocoon.components.source.impl
Class ZipSource
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.source.impl.ZipSource
- All Implemented Interfaces:
- LogEnabled, Source
public class ZipSource
- extends AbstractLogEnabled
- implements Source
- Since:
- 2.1.8
- Version:
- CVS $Id: ZipSource.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Reinhard Poetz, Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipSource
public ZipSource(String protocol,
Source archive,
String filePath)
exists
public boolean exists()
- Specified by:
exists
in interface Source
getInputStream
public InputStream getInputStream()
throws IOException,
SourceNotFoundException
- Specified by:
getInputStream
in interface Source
- Throws:
IOException
SourceNotFoundException
getURI
public String getURI()
- Specified by:
getURI
in interface Source
getScheme
public String getScheme()
- Specified by:
getScheme
in interface Source
getValidity
public SourceValidity getValidity()
- Specified by:
getValidity
in interface Source
refresh
public void refresh()
- Specified by:
refresh
in interface Source
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface Source
getContentLength
public long getContentLength()
- Specified by:
getContentLength
in interface Source
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interface Source
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.