public class InspireResourceLocator extends Object
| Constructor and Description |
|---|
InspireResourceLocator(String url) |
| Modifier and Type | Method and Description |
|---|---|
InspireResourceLocator |
addMediaType(MediaType mediaType)
Add a
MediaType |
Set<MediaType> |
getMediaTypes()
Get the
MediaTypes |
String |
getURL()
Get the URL
|
boolean |
isSetMediaTypes()
Check if media types are set
|
boolean |
isSetUrl()
Check if the URL is set
|
InspireResourceLocator |
setMediaTypes(Collection<MediaType> mediaTypes)
Set the
MediaTypes, clears the existing collection |
String |
toString() |
public InspireResourceLocator(String url)
public String getURL()
public boolean isSetUrl()
true, if the URL is setpublic InspireResourceLocator setMediaTypes(Collection<MediaType> mediaTypes)
MediaTypes, clears the existing collectionmediaTypes - the media types to setpublic InspireResourceLocator addMediaType(MediaType mediaType)
MediaTypemediaType - the media type to addpublic boolean isSetMediaTypes()
true, if media types are setCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.