org.apache.clerezza.triaxrs.util.uri
Class UriPathNormalizer
java.lang.Object
org.apache.clerezza.triaxrs.util.uri.UriPathNormalizer
public final class UriPathNormalizer
- extends Object
Implementation of URI normalization algorithm.
|
Method Summary |
static String |
normalize(String path)
Returns normalized path (or simply the path if
it is already in normalized form). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
normalize
public static String normalize(String path)
- Returns normalized
path (or simply the path if
it is already in normalized form). Normalized path does not contain any
empty or "." segments or ".." segments preceded by other segment than
"..".
- Parameters:
path - path to normalize
- Returns:
- normalize path
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.