public class UrlReference extends Object implements Reference, Serializable
| Constructor and Description |
|---|
UrlReference(String url) |
UrlReference(URI url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
URI |
getUrl()
Returns the URL value
|
int |
hashCode() |
String |
toString() |
public UrlReference(URI url)
url - URL to the media sourcepublic UrlReference(String url) throws URISyntaxException
url - String value of a URLMalformedURLException - thrown on bad URLsURISyntaxExceptionpublic URI getUrl()
Copyright © 2021. All rights reserved.