Package thredds.client.catalog
Class Access
- java.lang.Object
-
- thredds.client.catalog.Access
-
@Immutable public class Access extends Object
A Dataset Access element- Since:
- 1/7/2015 LOOK could be @Autovalue
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDataFormatName()DataFormatTypegetDataFormatType()DatasetgetDataset()longgetDataSize()ServicegetService()URIgetStandardUri()Construct the standard THREDDS access URI for this dataset access method, resolved agaisnt the parent catalog if the URI is relative.StringgetStandardUrlName()Get the standard URL, with resolution if the URL is relative.StringgetUnresolvedUrlName()Construct "unresolved" URL: service.getBase() + getUrlPath() + service.getSuffix().StringgetUrlPath()StringgetWrappedUrlName()inthashCode()StringtoString()
-
-
-
Method Detail
-
getDataset
public Dataset getDataset()
-
getUrlPath
public String getUrlPath()
-
getService
public Service getService()
-
getDataFormatType
public DataFormatType getDataFormatType()
-
getDataFormatName
public String getDataFormatName()
-
getDataSize
public long getDataSize()
-
getStandardUrlName
public String getStandardUrlName()
Get the standard URL, with resolution if the URL is relative. catalog.resolveURI( getUnresolvedUrlName())- Returns:
- URL string, or null if error.
-
getStandardUri
public URI getStandardUri()
Construct the standard THREDDS access URI for this dataset access method, resolved agaisnt the parent catalog if the URI is relative.- Returns:
- the standard fully resolved THREDDS access URI for this dataset access method, or null if error.
-
getUnresolvedUrlName
public String getUnresolvedUrlName()
Construct "unresolved" URL: service.getBase() + getUrlPath() + service.getSuffix(). It is not resolved, so it may be a relative URL.- Returns:
- unresolved Url as a String
-
getWrappedUrlName
public String getWrappedUrlName()
-
-