Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » source » [javadoc | source]
org.apache.cocoon.components.source
public class: URLSource [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.components.source.AbstractStreamSource
         org.apache.cocoon.components.source.URLSource

All Implemented Interfaces:
    ModifiableSource

Deprecated! by - the Avalon Exalibur Source Resolving

Description of a source which is described by an URL.
Fields inherited from org.apache.cocoon.components.source.AbstractStreamSource:
transformerFactory,  manager
Constructor:
 public URLSource(URL url,
    ComponentManager manager) throws IOException 
    Construct a new object
Method from org.apache.cocoon.components.source.URLSource Summary:
getContentLength,   getInputStream,   getLastModified,   getSystemId,   isHTMLContent,   recycle,   refresh,   setPostParameters
Methods from org.apache.cocoon.components.source.AbstractStreamSource:
exists,   getContentLength,   getInputSource,   getLastModified,   isHTMLContent,   recycle,   refresh,   toSAX
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.source.URLSource Detail:
 public long getContentLength() 
      Deprecated!
    Get the content length of the source or -1 if it is not possible to determine the length.
 public InputStream getInputStream() throws IOException, ProcessingException 
      Deprecated!
    Return an InputStream object to read from the source.
 public long getLastModified() 
      Deprecated!
    Get the last modification date of the source or 0 if it is not possible to determine the date.
 public String getSystemId() 
      Deprecated!
    Return the unique identifer for this source
 protected boolean isHTMLContent() 
      Deprecated!
 public  void recycle() 
      Deprecated!
 public  void refresh() 
      Deprecated!
    Refresh this object and update the last modified date and content length.
 public  void setPostParameters(SourceParameters pars) 
      Deprecated!
    Set the post parameters