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.internal.services
Interface AssetResourceLocator

All Known Implementing Classes:
  AssetResourceLocatorImpl

    public interface AssetResourceLocator

Responsible for converting a path into a `Resource` that can be streamed to the client. The path is on the classpath, but may have been changed to include a checksum (in certain cases).

Since:
  5.1.0.2

Method Summary
`Resource` | `findClasspathResourceForPath(java.lang.String path)` For a complete classpath path, returns the Resource for the path.

Method Detail

### findClasspathResourceForPath

    Resource findClasspathResourceForPath(java.lang.String path)
                                          throws java.io.IOException

  For a complete classpath path, returns the Resource for the path. This include checking for a digest for protected files.

  Returns:
    resource corresponding to path (may be for a non-existent resource), or null if path is invalid (i.e., incorrect digest)
  Throws:
    `java.io.IOException`

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.