org.apache.tapestry.asset
Class ExternalResource
java.lang.Object
org.apache.hivemind.util.AbstractResource
org.apache.tapestry.asset.ExternalResource
- All Implemented Interfaces:
- org.apache.hivemind.Resource
- public class ExternalResource
- extends org.apache.hivemind.util.AbstractResource
Corresponds to the ExternalAsset
.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Constructor Summary |
ExternalResource(java.lang.String path,
java.util.Locale locale)
|
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 |
ExternalResource
public ExternalResource(java.lang.String path,
java.util.Locale locale)
newResource
protected org.apache.hivemind.Resource newResource(java.lang.String path)
getResourceURL
public java.net.URL getResourceURL()
getLocalization
public org.apache.hivemind.Resource getLocalization(java.util.Locale locale)