org.apache.tapestry.asset
Class ExternalResource

java.lang.Object
  extended by org.apache.hivemind.util.AbstractResource
      extended by org.apache.tapestry.asset.ExternalResource
All Implemented Interfaces:
Resource

public class ExternalResource
extends AbstractResource

Corresponds to the ExternalAsset.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ExternalResource(String path, Locale locale)
           
 
Method Summary
 Resource getLocalization(Locale locale)
           
 URL getResourceURL()
           
protected  Resource newResource(String path)
           
 
Methods inherited from class org.apache.hivemind.util.AbstractResource
equals, getLocale, getName, getPath, getRelativeResource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalResource

public ExternalResource(String path,
                        Locale locale)
Method Detail

newResource

protected Resource newResource(String path)
Specified by:
newResource in class AbstractResource

getResourceURL

public URL getResourceURL()

getLocalization

public Resource getLocalization(Locale locale)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.