public static class AbstractGuiDriver.Uri
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
local
The local resource qualifier
|
private java.net.URI |
uri
The resource identifier
|
| Constructor and Description |
|---|
Uri(java.lang.String urlString)
Creates this instance iff the given identifier is well-formed; otherwise it throws
URISyntaxException.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getUri()
Unwraps the target resource identifier.
|
boolean |
isLocal()
Tests if this resource identifier represents a local file.
|
private static boolean |
isLocalResource(java.net.URL url)
Tests if the given url represents the local file resource.
|
private final java.net.URI uri
private final boolean local
public Uri(java.lang.String urlString)
throws java.net.URISyntaxException
urlString - The given resource identifierjava.net.URISyntaxException - Iff the given identifier is not well-formed.public java.net.URI getUri()
public boolean isLocal()
private static final boolean isLocalResource(java.net.URL url)
url - The given resource