Author: nbelaevski
Date: 2010-07-05 11:41:15 -0400 (Mon, 05 Jul 2010)
New Revision: 17719
Added:
root/core/trunk/api/src/main/java/org/richfaces/resource/ResourceCodec.java
Removed:
root/core/trunk/impl/src/main/java/org/richfaces/resource/ResourceCodec.java
Log:
ResourceCodec interface moved to API
Copied: root/core/trunk/api/src/main/java/org/richfaces/resource/ResourceCodec.java (from
rev 17716, root/core/trunk/impl/src/main/java/org/richfaces/resource/ResourceCodec.java)
===================================================================
--- root/core/trunk/api/src/main/java/org/richfaces/resource/ResourceCodec.java
(rev 0)
+++ root/core/trunk/api/src/main/java/org/richfaces/resource/ResourceCodec.java 2010-07-05
15:41:15 UTC (rev 17719)
@@ -0,0 +1,25 @@
+/**
+ *
+ */
+package org.richfaces.resource;
+
+import javax.faces.context.FacesContext;
+
+/**
+ * @author Nick Belaevski
+ * @since 4.0
+ */
+public interface ResourceCodec {
+
+ public String encodeResourceRequestPath(FacesContext context, String resourceName,
Object resourceData, String resourceVersion);
+
+ public String encodeJSFMapping(FacesContext context, String resourcePath);
+
+ public String decodeResourceName(FacesContext context, String requestPath);
+
+ public Object decodeResourceData(FacesContext context, String requestPath);
+
+ public String decodeResourceVersion(FacesContext context, String requestPath);
+
+ public String getResourceKey(FacesContext context, String requestPath);
+}
Deleted: root/core/trunk/impl/src/main/java/org/richfaces/resource/ResourceCodec.java
===================================================================
---
root/core/trunk/impl/src/main/java/org/richfaces/resource/ResourceCodec.java 2010-07-05
15:10:53 UTC (rev 17718)
+++
root/core/trunk/impl/src/main/java/org/richfaces/resource/ResourceCodec.java 2010-07-05
15:41:15 UTC (rev 17719)
@@ -1,25 +0,0 @@
-/**
- *
- */
-package org.richfaces.resource;
-
-import javax.faces.context.FacesContext;
-
-/**
- * @author Nick Belaevski
- * @since 4.0
- */
-public interface ResourceCodec {
-
- public String encodeResourceRequestPath(FacesContext context, String resourceName,
Object resourceData, String resourceVersion);
-
- public String encodeJSFMapping(FacesContext context, String resourcePath);
-
- public String decodeResourceName(FacesContext context, String requestPath);
-
- public Object decodeResourceData(FacesContext context, String requestPath);
-
- public String decodeResourceVersion(FacesContext context, String requestPath);
-
- public String getResourceKey(FacesContext context, String requestPath);
-}
Show replies by date