Uses of Class
com.atlassian.bitbucket.content.SimplePath
-
Uses of SimplePath in com.atlassian.bitbucket.content
Modifier and TypeMethodDescriptionSimplePath.abbreviate
(int maxLength) Abbreviates the path by removing path components from the middle until the length of thepath
is not greater thanmaxLength
.SimplePath.abbreviatePathComponents
(int maxLength) Returns a similar result togetPathComponents()
, but abbreviates the result (inserts null at the break point)SimplePath.getCommonRoot
(SimplePath other) SimplePath.getParentPath()
SimplePath.getPathComponents()
SimplePath.getPathHead()
SimplePath.getStripTail
(SimplePath other, boolean caseSensitive) if other is an exact tail of this, return the path leading up to that tail otherwise return nullSimplePath.getSubPath
(int depth) SimplePath.getTailPath()
SimplePath.simplify()
SimplePath.trimFirst()
SimplePath.trimFirst
(int n) SimplePath.trimLast()
Modifier and TypeMethodDescriptionint
SimplePath.compareTo
(SimplePath o) SimplePath.getCommonRoot
(SimplePath other) SimplePath.getStripTail
(SimplePath other, boolean caseSensitive) if other is an exact tail of this, return the path leading up to that tail otherwise return nullboolean
SimplePath.hasPrefix
(SimplePath p) determines if this path begins with all ofp
boolean
SimplePath.hasPrefix
(SimplePath p, boolean caseSensitive) boolean
SimplePath.isAncestor
(SimplePath descendant) ModifierConstructorDescriptionSimplePath
(SimplePath aParent, SimplePath aPath) SimplePath
(SimplePath aParent, String aPath) SimplePath
(SimplePath aParent, String... aPath) SimplePath
(SimplePath aParent, String aPath, boolean allowSloshes) SimplePath
(String aParent, SimplePath aPath)