public class PathUtils extends Object
Constructor and Description |
---|
PathUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
escape(String name)
Eliminate dangerous chars in node name.
|
static String |
fixContext(String context)
Fix context definition.
|
static String |
getContext(String path)
Get path context
|
static int |
getDepth(String path)
Get path depth
|
static String |
getName(String path)
Get node name.
|
static String |
getParent(String path)
Get parent node.
|
public static int getDepth(String path)
public static String escape(String name)
Copyright © 2015. All Rights Reserved.