|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.asset.AbstractAsset
org.apache.tapestry.asset.PrivateAsset
An implementation of IAsset
for localizable assets within the JVM's
classpath.
The localization code here is largely cut-and-paste from ContextAsset
.
Constructor Summary | |
PrivateAsset(org.apache.hivemind.util.ClasspathResource resourceLocation,
IEngineService assetService,
org.apache.hivemind.Location location)
|
|
PrivateAsset(org.apache.hivemind.util.ClasspathResource resourceLocation,
org.apache.hivemind.Location location)
Deprecated. To be removed (someday). Use PrivateAsset(ClasspathResource, IEngineService, Location) instead. |
Method Summary | |
java.lang.String |
buildURL()
Gets the localized version of the resource. |
java.io.InputStream |
getResourceAsStream()
Accesses the localized version of the resource (if possible) and returns it as an input stream. |
Methods inherited from class org.apache.tapestry.asset.AbstractAsset |
getLocation, getResourceLocation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PrivateAsset(org.apache.hivemind.util.ClasspathResource resourceLocation, org.apache.hivemind.Location location)
PrivateAsset(ClasspathResource, IEngineService, Location)
instead.
public PrivateAsset(org.apache.hivemind.util.ClasspathResource resourceLocation, IEngineService assetService, org.apache.hivemind.Location location)
Method Detail |
public java.lang.String buildURL()
AssetExternalizerImpl
is located, to copy the resource to a directory
visible to the web server.
public java.io.InputStream getResourceAsStream()
IAsset
page
is returned.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |