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 boolean
equals(Object o)
String
getDataFormatName()
DataFormatType
getDataFormatType()
Dataset
getDataset()
long
getDataSize()
Service
getService()
URI
getStandardUri()
Construct the standard THREDDS access URI for this dataset access method, resolved agaisnt the parent catalog if the URI is relative.String
getStandardUrlName()
Get the standard URL, with resolution if the URL is relative.String
getUnresolvedUrlName()
Construct "unresolved" URL: service.getBase() + getUrlPath() + service.getSuffix().String
getUrlPath()
String
getWrappedUrlName()
int
hashCode()
String
toString()
-
-
-
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()
-
-