| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.sadun.util.PathNormalizer
An utility class to compute normalized paths (i.e. paths that do not contain neither "." nor "..")
v1.2 supports windows UNC paths (on windows)
| Constructor Summary | |
PathNormalizer()
 | 
|
| Method Summary | |
static java.io.File | 
normalize(java.io.File path)
Normalizes a file object.  | 
static java.lang.String | 
normalizePath(java.lang.String path)
Normalizes a string path.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public PathNormalizer()
| Method Detail | 
public static java.io.File normalize(java.io.File path)
path - the File object to be normalized
public static java.lang.String normalizePath(java.lang.String path)
path - the path to be normalized.
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||