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 URLsURISyntaxException
public URI getUrl()
Copyright © 2023. All rights reserved.