|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclassUtils.pack.util.PathNormalizer
public class PathNormalizer
An utility class to compute normalized paths (i.e. paths that do not contain neither "." nor "..")
| 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 |
|---|
equals, 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 | |||||||||