org.apache.cocoon.components.xscript
Class XScriptObjectFromURL

java.lang.Object
  extended by org.apache.cocoon.components.xscript.XScriptObject
      extended by org.apache.cocoon.components.xscript.XScriptObjectFromURL
All Implemented Interfaces:
Serviceable, Source

public class XScriptObjectFromURL
extends XScriptObject

An XScriptObject created from the contents of a URL.

Since:
August 30, 2001
Version:
CVS $Id: XScriptObjectFromURL.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Ovidiu Predescu

Field Summary
 
Fields inherited from class org.apache.cocoon.components.xscript.XScriptObject
serviceManager
 
Constructor Summary
XScriptObjectFromURL(XScriptManager manager, String systemId)
           
 
Method Summary
 long getContentLength()
           
 InputStream getInputStream()
           
 long getLastModified()
           
 String getURI()
           
 String toString()
           
 
Methods inherited from class org.apache.cocoon.components.xscript.XScriptObject
exists, getInputSource, getMimeType, getScheme, getValidity, recycle, refresh, service, toEmbeddedSAX, toSAX, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XScriptObjectFromURL

public XScriptObjectFromURL(XScriptManager manager,
                            String systemId)
Method Detail

getInputStream

public InputStream getInputStream()
                           throws IOException,
                                  SourceNotFoundException
Throws:
IOException
SourceNotFoundException

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface Source
Specified by:
getContentLength in class XScriptObject

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface Source
Overrides:
getLastModified in class XScriptObject

toString

public String toString()
Overrides:
toString in class Object

getURI

public String getURI()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.