Interface MimeTypePrecondition

    • Method Detail

      • getMimeTypes

        String[] getMimeTypes()
        Gets the MIME types that satisfy this precondition.

        Note that if the document's MIME Type is unknown, the value of the default property determines whether this precondition is satisfied.

        Returns:
        the MIME Types that satisfy this precondition
      • setMimeTypes

        void setMimeTypes​(String[] aMimeTypes)
        Sets the MIME types that satisfy this precondition.

        Note that if the document's MIME Type is unknown, the value of the default property determines whether this precondition is satisfied.

        Parameters:
        aMimeTypes - the MIME Types that satisfy this precondition
        Throws:
        UIMA_UnsupportedOperationException - if this MetaDataObject is not modifiable.