true
if the url starts with the given path.
@param path the path
@return true
if the url starts with path
isStringAt(s_toSearchFor, 0)
If s_toSearchFor.length is greater than or equal to length.true
if the character sequence represented by theargument is a prefix of the substring of this object starting at index toffset
; false
otherwise. The result is false
if toffset
is negative or greater than the length of this String
object; otherwise the result is the same as the result of the expression this.substring(toffset).startsWith(prefix)
This path starts with the given path if this path's root component starts with the root component of the given path, and this path starts with the same name elements as the given path. If the given path has more name elements than this path then {@code false}is returned.
Whether or not the root component of this path starts 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 start 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 starts with the given path; otherwise{@code false}
Name
starts with the elements in the supplied name. The supplied name itself may have a number of elements.
@param name the name to check against this name
@return true when the supplied name matches else returns false
|
|
|
|
|
|
|
|
|
|
|
|