org.apache.tapestry5.internal.services
Class AssetResourceLocatorImpl
java.lang.Object
org.apache.tapestry5.internal.services.AssetResourceLocatorImpl
- All Implemented Interfaces:
- AssetResourceLocator
public class AssetResourceLocatorImpl
- extends Object
- implements AssetResourceLocator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetResourceLocatorImpl
public AssetResourceLocatorImpl(ResourceDigestManager digestManager,
Response response,
AssetSource assetSource)
findClasspathResourceForPath
public Resource findClasspathResourceForPath(String path)
throws IOException
- Description copied from interface:
AssetResourceLocator
- For a complete classpath path, returns the Resource for the path. This include checking for a
digest for protected files.
- Specified by:
findClasspathResourceForPath
in interface AssetResourceLocator
- Returns:
- resource corresponding to path (may be for a non-existent resource), or null if path is invalid (i.e.,
incorrect digest)
- Throws:
IOException
Copyright © 2003-2012 The Apache Software Foundation.