org.apache.cocoon.components.xscript
Class XScriptObjectFromURL
java.lang.Object
org.apache.cocoon.components.xscript.XScriptObject
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
Methods inherited from class org.apache.cocoon.components.xscript.XScriptObject |
exists, getInputSource, getMimeType, getScheme, getValidity, recycle, refresh, service, toEmbeddedSAX, toSAX, transform |
XScriptObjectFromURL
public XScriptObjectFromURL(XScriptManager manager,
String systemId)
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.