java.lang.Object | |
↳ | com.atlassian.bitbucket.content.SimplePath |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EMPTY | |||||||||||
ROOT |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Abbreviates the path by removing path components from the middle until the length of the
path
is not greater than maxLength . | |||||||||||
Returns a similar result to
getPathComponents() , but abbreviates
the result (inserts null at the break point)
| |||||||||||
if other is an exact tail of this, return the path leading up to that
tail otherwise return null
| |||||||||||
determines if this path begins with all of
p
| |||||||||||
Intelligently put a "/" between two strings.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.bitbucket.content.Path
| |||||||||||
From interface
java.lang.Comparable
|
Abbreviates the path by removing path components from the middle until the length of the path
is not greater than maxLength
.
The first and last path component are always in the returned path. If any path components are removed, an
ellipses ("...") will appear in the middle. The returned path may in some cases still be greater than the
specified maxLength
.
maxLength | maximum number of characters |
---|
Returns a similar result to getPathComponents()
, but abbreviates
the result (inserts null at the break point)
if other is an exact tail of this, return the path leading up to that tail otherwise return null
Intelligently put a "/" between two strings.
a | first path component |
---|---|
b | second path component |