1 /*
2 * $Id: IResourceVersionHandler.java,v 1.2 2008/12/09 16:37:13 oeuillot Exp $
3 */
4 package org.rcfaces.core.internal.version;
5
6 import java.net.URL;
7
8 import javax.faces.context.FacesContext;
9
10 /**
11 *
12 * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
13 * @version $Revision: 1.2 $ $Date: 2008/12/09 16:37:13 $
14 */
15 public interface IResourceVersionHandler {
16
17 String ID = "org.rcfaces.core.URL_REWRITING_PROVIDER";
18
19 boolean isEnabled();
20
21 String getResourceVersion(FacesContext facesContext, String absolutePath,
22 URL contentURLIfKnown);
23 }