Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.services.assets
Interface AssetPathConstructor

All Known Implementing Classes:
  AssetPathConstructorImpl

    public interface AssetPathConstructor

Encapsulates the logic or creating the path portion of an asset URL, including the application version.

Since:
  5.2.0

Method Summary
`java.lang.String` | `constructAssetPath(java.lang.String virtualFolder, java.lang.String path)` Constructs an asset URL path from the virtual folder and path (within the virtual folder).

Method Detail

### constructAssetPath

    java.lang.String constructAssetPath(java.lang.String virtualFolder,
                                        java.lang.String path)

  Constructs an asset URL path from the virtual folder and path (within the virtual folder).

  Parameters:
    `virtualFolder` - corresponds to a `AssetRequestHandler` contributed to the AssetDispatcher service
    `path` - within the virtual folder (should not start with a slash)
  Returns:
    path portion of asset URL, including the context path, the /assets/ virtual folder, the application version number, the virtual folder, and the path extension

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.