Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.rendering.api
Interface ResourceLocator

All Known Implementing Classes:
ApplicationServlet, WebEngine, WebEngineServlet

public interface ResourceLocator

Resource locators are used to resolve resource names to resource URLs

Author:
Bogdan Stefanescu

Method Summary
 File getResourceFile(String key)
          Get a file resource given a key
 URL getResourceURL(String key)
          Gets an URL resource given a key
 

Method Detail

getResourceURL

URL getResourceURL(String key)
Gets an URL resource given a key

Parameters:
key - the resource key
Returns:
the resource URL or null if no such result was found

getResourceFile

File getResourceFile(String key)
Get a file resource given a key

Parameters:
key -
Returns:

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.