java.lang.Object | |
↳ | com.atlassian.stash.content.SimplePath |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EMPTY | |||||||||||
ROOT |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abbreviate a path by removing path components from the middle until the
length of the path (as via .getPath()) is not greater then 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.stash.content.Path
| |||||||||||
From interface
java.lang.Comparable
|
abbreviate a path by removing path components from the middle until the length of the path (as via .getPath()) is not greater then maxLength.
The first and last path component are always in the returned path. If any path components were removed, an ellipses "..." will appear in the middle The returned path may in some cases still be greater.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.