|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.ClasspathAssetAliasManagerImpl
public class ClasspathAssetAliasManagerImpl
| Constructor Summary | |
|---|---|
ClasspathAssetAliasManagerImpl(AssetPathConstructor assetPathConstructor,
java.util.Map<java.lang.String,java.lang.String> configuration)
Configuration is a map of aliases (short names) to complete names. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getMappings()
Returns the mappings used by the service: the keys are the folder aliases (i.e, "corelib") and the values are the corresponding paths (i.e., "org/apache/tapestry5/corelib"). |
java.lang.String |
toClientURL(java.lang.String resourcePath)
Takes a resource path to a classpath resource and adds the asset path prefix to the path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClasspathAssetAliasManagerImpl(AssetPathConstructor assetPathConstructor,
java.util.Map<java.lang.String,java.lang.String> configuration)
| Method Detail |
|---|
public java.lang.String toClientURL(java.lang.String resourcePath)
ClasspathAssetAliasManager
toClientURL in interface ClasspathAssetAliasManagerresourcePath - resource path on the classpath (with no leading slash)
public java.util.Map<java.lang.String,java.lang.String> getMappings()
ClasspathAssetAliasManagerClasspathAssetRequestHandlers can be created automatically
for each mapping.
getMappings in interface ClasspathAssetAliasManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||