Class ClarinFCSEndpointDescription.DataView

    • Method Detail

      • getIdentifier

        public String getIdentifier()
        Get the identifier of this data view.
        Returns:
        the identifier of the data view
      • getMimeType

        public String getMimeType()
        Get the MIME type of this data view.
        Returns:
        the MIME type of this data view
      • isMimeType

        public boolean isMimeType​(String type)
        Convenience method to check if this DataView is of a certain MIME type.
        Parameters:
        type - the MIME type to test against
        Returns:
        true if the DataView is in the supplied MIME type, false otherwise
        Throws:
        NullPointerException - if any required arguments are not supplied