| |
|
| org.apache.cocoon.components.source.AbstractStreamSource org.apache.cocoon.components.source.URLSource
URLSource | public class URLSource extends AbstractStreamSource (Code) | | Description of a source which is described by an URL.
author: Carsten Ziegeler version: CVS $Id: URLSource.java 433543 2006-08-22 06:22:54Z crossley $ |
Constructor Summary | |
public | URLSource(URL url, ComponentManager manager) |
URLSource | public URLSource(URL url, ComponentManager manager) throws IOException(Code) | | Construct a new object
|
getContentLength | public long getContentLength()(Code) | | Get the content length of the source or -1 if it
is not possible to determine the length.
|
getLastModified | public long getLastModified()(Code) | | Get the last modification date of the source or 0 if it
is not possible to determine the date.
|
getSystemId | public String getSystemId()(Code) | | Return the unique identifer for this source
|
isHTMLContent | protected boolean isHTMLContent()(Code) | | |
recycle | public void recycle()(Code) | | |
refresh | public void refresh()(Code) | | Refresh this object and update the last modified date
and content length.
|
setPostParameters | public void setPostParameters(SourceParameters pars)(Code) | | Set the post parameters
|
|
|
|