com.primix.tapestry.asset
Class ExternalAsset
java.lang.Object
|
+--com.primix.tapestry.asset.ExternalAsset
- All Implemented Interfaces:
- IAsset
- public class ExternalAsset
- extends java.lang.Object
- implements IAsset
A reference to an external URL. ExternalAsset
s are not
localizable.
- Version:
- $Id: ExternalAsset.java,v 1.4 2001/05/02 14:15:15 hship Exp $
- Author:
- Howard Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExternalAsset
public ExternalAsset(java.lang.String URL)
buildURL
public java.lang.String buildURL(IRequestCycle cycle)
- Simply returns the URL of the external asset.
- Specified by:
buildURL
in interface IAsset
getResourceAsStream
public java.io.InputStream getResourceAsStream(IRequestCycle cycle)
throws ResourceUnavailableException
- Description copied from interface:
IAsset
- Accesses the localized version of the resource (if possible) and returns it as
an input stream. A version of the resource localized to the
current
page
is returned.
- Specified by:
getResourceAsStream
in interface IAsset
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object