true
if the url ends with the given path.
@param path the path
@return true
if the url ends with path
isStringAt(s_toSearchFor, (length() - s_toSearchFor.length()))
If s_toSearchFor.length is greater than or equal to length.true
if the character sequence represented by theargument is a suffix of the character sequence represented by this object; false
otherwise. Note that the result will be true
if the argument is the empty string or is equal to this String
object as determined by the {@link #equals(Object)} method.
If the given path has N elements, and no root component, and this path has N or more elements, then this path ends with the given path if the last N elements of each path, starting at the element farthest from the root, are equal.
If the given path has a root component then this path ends with the given path if the root component of this path ends with the root component of the given path, and the corresponding elements of both paths are equal. Whether or not the root component of this path ends with the root component of the given path is file system specific. If this path does not have a root component and the given path has a root component then this path does not end with the given path.
If the given path is associated with a different {@code FileSystem}to this path then {@code false} is returned. @param other the given path @return {@code true} if this path ends with the given path; otherwise{@code false}
true
if the character sequence represented by the argument is a suffixof the character sequence represented by this AppendingStringBuffer; false
otherwise. Note that the result will be true
if the argument is the empty string or is equal to this AppendingStringBuffer
object as determined by the {@link #equals(Object)} method.
true
if sequence data ends with the specified actions, false
otherwise
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|