|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UsesMappedConfiguration(value=java.lang.String.class) public interface ClasspathAssetAliasManager
Used as part of the support for classpath Assets, to convert the Asset's Resource to a URL that can be accessed by the client. The asset path, within the
classpath, is converted into a shorter virtual path (one that, typically, includes some kind of version number).
| Method Summary | |
|---|---|
String |
toClientURL(String resourcePath)
Takes a resource path to a classpath resource and adds the asset path prefix to the path. |
String |
toResourcePath(String clientURL)
Reverses toClientURL(String), stripping off the asset prefix, and re-expanding any aliased folders back
to complete folders. |
| Method Detail |
|---|
String toClientURL(String resourcePath)
resourcePath - resource path on the classpath (with no leading slash)
String toResourcePath(String clientURL)
toClientURL(String), stripping off the asset prefix, and re-expanding any aliased folders back
to complete folders.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||