| java.lang.Object org.apache.cocoon.components.source.impl.PartSource
PartSource | public class PartSource implements Source(Code) | | Implementation of a
Source that gets its content
from a PartOnDisk or PartInMemory held in the Request when
a file is uploaded.
author: Paul Crabtree version: CVS $Id: PartSource.java 433543 2006-08-22 06:22:54Z crossley $ |
Constructor Summary | |
public | PartSource(String uri, Map objectModel) Builds a PartSource given an URI. |
exists | public boolean exists()(Code) | | true if the resource exists. |
getContentLength | public long getContentLength()(Code) | | See Also: org.apache.excalibur.source.Source.getContentLength |
getInputStream | public InputStream getInputStream() throws IOException, SourceNotFoundException(Code) | | See Also: org.apache.excalibur.source.Source.getInputStream |
getLastModified | public long getLastModified()(Code) | | See Also: org.apache.excalibur.source.Source.getLastModified |
getMimeType | public String getMimeType()(Code) | | See Also: org.apache.excalibur.source.Source.getMimeType |
getValidity | public SourceValidity getValidity()(Code) | | |
refresh | public void refresh()(Code) | | See Also: org.apache.excalibur.source.Source.refresh |
|
|