Class SVNPathUtil
java.lang.Object
org.tmatesoft.svn.core.internal.util.SVNPathUtil
- Version:
- 1.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic StringcanonicalizePath(String path) static voidcheckPathIsValid(String path) static StringcondencePaths(String[] paths, Collection condencedPaths, boolean removeRedundantPaths) static StringgetAbsolutePath(String path) static StringgetCommonPathAncestor(String path1, String path2) static StringgetPathAsChild(String path, String pathChild) Former pathIsChild.static StringgetRelativePath(String parent, String child) static intgetSegmentsCount(String path) static Stringstatic booleanisAbsolute(String path) static booleanisAncestor(String parentPath, String childPath) static booleanisCanonical(String path) static booleanisSinglePathComponent(String name) static booleanstatic booleanisWithinBasePath(String basePath, String path) static StringremoveHead(String path) static StringremoveTail(String path) static Stringstatic StringvalidateFilePath(String path)
-
Field Details
-
PATH_COMPARATOR
-
-
Constructor Details
-
SVNPathUtil
public SVNPathUtil()
-
-
Method Details
-
isCanonical
-
checkPathIsValid
- Throws:
SVNException
-
getAbsolutePath
-
validateFilePath
-
canonicalizePath
-
canonicalizeAbsolutePath
-
append
-
isSinglePathComponent
-
head
-
removeHead
-
tail
-
removeTail
-
getCommonPathAncestor
-
condencePaths
public static String condencePaths(String[] paths, Collection condencedPaths, boolean removeRedundantPaths) -
getSegmentsCount
-
isAncestor
-
getPathAsChild
Former pathIsChild.- Parameters:
path-pathChild-- Returns:
-
getRelativePath
-
isURL
-
isWithinBasePath
-
isAbsolute
-