public class PathUtils extends Object
Constructor and Description |
---|
PathUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isPrefix(String prefix,
String path)
Return true iff prefix is a prefix of path.
|
static String |
parent(String path)
Like File.getParent but always uses the / separator.
|
static List<String> |
prefixes(String path)
Generate all prefixes for a path.
|
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.