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
  • Constructor Details

  • Method Details

    • 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()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object