public final class URIs
extends java.lang.Object
URI
s.Modifier and Type | Method and Description |
---|---|
static boolean |
isURI(java.lang.String string)
Returns
true if, and only if, string is formatted in a way that is supported by the URI class, false otherwise. |
public static boolean isURI(java.lang.String string)
true
if, and only if, string
is formatted in a way that is supported by the URI
class, false
otherwise.
If string
is null
, a NullPoinerException
will be thrown.
string
- the String
to checktrue
if, and only if, string
is formatted in a way that is supported by the URI
class, false
otherwisejava.lang.NullPointerException
- thrown if, and only if, string
is null