Documentation of 'edu.wisc.ssec.mcidas.adde.AddeDatasetURL' Java class
AddeDatasetURL
edu.wisc.ssec.mcidas.adde

Class AddeDatasetURL

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    AddeImageURL, AddePointURL


    public class AddeDatasetURL
    extends AddeURL
    A subclass of AddeURL to support queries on datasets.
    
     URLs must all have the following format:
    
       adde://host/request?keyword_1=value_1&keyword_2=value_2
    
       group=<groupname>         ADDE dataset group
       descr=<descriptor>        ADDE dataset descriptor
       user=<user_id>            ADDE user identification
       proj=<proj #>             a valid ADDE project number
       trace=<0/1>               setting to 1 tells server to write debug
                                   trace file
       version=                  ADDE version number, currently 1 except for
                                 griddata requests
       debug=                    set to true to watch the printlns stream by
       compress=                 set to "gzip" if you want to use the GZIP
                                 compression or "compress" if you want to use
                                 transfers in Unix compress format (You need to
                                 have the VisAD package if you want to support
                                 this.)  default = none.
       port=                     Socket port to connect on.  Overridden by
                                 a port specified in the host
                                 (e.g., adde.ucar.edu:500)
     
    • Field Detail

      • KEY_GROUP

        public static final java.lang.String KEY_GROUP
        Keyword for dataset group
        See Also:
        Constant Field Values
      • KEY_DESCRIPTOR

        public static final java.lang.String KEY_DESCRIPTOR
        Keyword for dataset descriptor
        See Also:
        Constant Field Values
    • Constructor Detail

      • AddeDatasetURL

        public AddeDatasetURL()
        Create an ADDE URL
      • AddeDatasetURL

        public AddeDatasetURL(java.lang.String host,
                              java.lang.String requestType,
                              java.lang.String group)
        Create an ADDE Dataset URL from the given spec
        Parameters:
        host - host to send to
        requestType - type of request (REQ_*)
        group - ADDE group
      • AddeDatasetURL

        public AddeDatasetURL(java.lang.String host,
                              java.lang.String requestType,
                              java.lang.String group,
                              java.lang.String descriptor)
        Create an ADDE Dataset URL from the given spec
        Parameters:
        host - host to send to
        requestType - type of request (REQ_*)
        group - ADDE group
        descriptor - ADDE descriptor (may be null)
      • AddeDatasetURL

        public AddeDatasetURL(java.lang.String host,
                              java.lang.String requestType,
                              java.lang.String group,
                              java.lang.String descriptor,
                              java.lang.String extraKeys)
        Create an ADDE URL from the given spec
        Parameters:
        host - host to send to
        requestType - type of request (REQ_*)
        group - ADDE group
        descriptor - ADDE descriptor (may be null)
        extraKeys - extraKeys string (key/value pairs)
    • Method Detail

      • getGroup

        public java.lang.String getGroup()
        Get the group for this ADDE URL
        Returns:
        the group
      • setGroup

        public void setGroup(java.lang.String group)
        Set the group for this ADDE URL
        Parameters:
        group - the group
      • getDescriptor

        public java.lang.String getDescriptor()
        Get the dataset descriptor for this ADDE URL
        Returns:
        the dataset descriptor
      • setDescriptor

        public void setDescriptor(java.lang.String desc)
        Set the dataset descriptor for this ADDE URL
        Parameters:
        desc - the dataset descriptor

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.