Class Access


  • @Immutable
    public class Access
    extends Object
    A Dataset Access element.
    • Method Detail

      • getDataset

        public Dataset getDataset()
      • getUrlPath

        public String getUrlPath()
      • getService

        public Service getService()
      • getDataFormatName

        public String getDataFormatName()
      • getDataSize

        public long getDataSize()
      • getStandardUrlName

        public String getStandardUrlName()
        Get the standard URL, with resolution if the URL is reletive. 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 reletive URL.
        Returns:
        unresolved Url as a String
      • getWrappedUrlName

        public String getWrappedUrlName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object