rewrite-integration-faces 2.0.0.Alpha3

org.ocpsoft.rewrite.faces
Class URLDuplicatePathCanonicalizer

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

public class URLDuplicatePathCanonicalizer
extends Object

Author:
Lincoln Baxter, III

Constructor Summary
URLDuplicatePathCanonicalizer()
           
 
Method Summary
 String canonicalize(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 String canonicalize(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 2.0.0.Alpha3

Copyright © 2013 OCPsoft. All Rights Reserved.