Class ContentType


  • public final class ContentType
    extends com.azure.core.util.ExpandableStringEnum<ContentType>
    Defines values for ContentType.
    • Field Detail

      • ANALYTIC_RULE

        public static final ContentType ANALYTIC_RULE
        Static value AnalyticRule for ContentType.
      • WORKBOOK

        public static final ContentType WORKBOOK
        Static value Workbook for ContentType.
    • Constructor Detail

      • ContentType

        public ContentType()
    • Method Detail

      • fromString

        public static ContentType fromString​(String name)
        Creates or finds a ContentType from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding ContentType.
      • values

        public static Collection<ContentType> values()
        Gets known ContentType values.
        Returns:
        known ContentType values.