rewrite-integration-faces 1.0.2.Final

org.ocpsoft.rewrite.faces
Class URLDuplicatePathCanonicalizer

java.lang.Object
  extended by org.ocpsoft.rewrite.faces.URLDuplicatePathCanonicalizer

public class URLDuplicatePathCanonicalizer
extends java.lang.Object

Author:
Lincoln Baxter, III

Constructor Summary
URLDuplicatePathCanonicalizer()
           
 
Method Summary
 java.lang.String canonicalize(java.lang.String url)
          Canonicalize a given URL, replacing relative path structures with the condensed path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLDuplicatePathCanonicalizer

public URLDuplicatePathCanonicalizer()
Method Detail

canonicalize

public java.lang.String canonicalize(java.lang.String url)
Canonicalize a given URL, replacing relative path structures with the condensed path. (Eg. /xxxx/../xxxx/ => /xxxx/)

Returns:
Return the canonicalized URL. If the URL requires no canonicalization, return the original unmodified URL.

rewrite-integration-faces 1.0.2.Final

Copyright © 2012 OCPsoft. All Rights Reserved.