|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.excalibur.source.impl.AbstractSource
org.apache.cocoon.components.source.impl.BlockSource
Implementation of a Source
that gets its content by
invoking the Block.
Constructor Summary | |
BlockSource(ServiceManager manager,
String uri,
Map parameters,
Logger logger)
Construct a new object |
Method Summary | |
boolean |
exists()
Returns true always. |
InputStream |
getInputStream()
Return an InputStream object to read from the source. |
void |
recycle()
Recyclable |
Methods inherited from class org.apache.excalibur.source.impl.AbstractSource |
checkInfos, getContentLength, getInfos, getLastModified, getMimeType, getScheme, getURI, getValidity, refresh, setContentLength, setLastModified, setScheme, setSystemId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BlockSource(ServiceManager manager, String uri, Map parameters, Logger logger) throws MalformedURLException
Method Detail |
public InputStream getInputStream() throws IOException, SourceException
InputStream
object to read from the source.
IOException
SourceException
public boolean exists()
Source.exists()
public void recycle()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |