你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FormContentType 类

public final class FormContentType
extends ExpandableStringEnum<FormContentType>

定义本地文件支持的内容类型的值。

字段摘要

修饰符和类型 字段和描述
static final FormContentType APPLICATION_PDF

表单内容类型的静态值行。

static final FormContentType IMAGE_BMP

表单内容类型的静态值行。

static final FormContentType IMAGE_JPEG

表单内容类型的静态值行。

static final FormContentType IMAGE_PNG

表单内容类型的静态值行。

static final FormContentType IMAGE_TIFF

表单内容类型的静态值行。

构造函数摘要

构造函数 说明
FormContentType()

已放弃

使用 fromString(String value) 工厂方法。

创建窗体内容类型对象。

方法摘要

修饰符和类型 方法和描述
static FormContentType fromString(String value)

从元素类型的字符串表示形式创建或查找元素类型。

方法继承自 ExpandableStringEnum

方法继承自 java.lang.Object

字段详细信息

APPLICATION_PDF

public static final FormContentType APPLICATION_PDF

FormContentType 的静态值 Line。

IMAGE_BMP

public static final FormContentType IMAGE_BMP

FormContentType 的静态值 Line。

IMAGE_JPEG

public static final FormContentType IMAGE_JPEG

FormContentType 的静态值 Line。

IMAGE_PNG

public static final FormContentType IMAGE_PNG

FormContentType 的静态值 Line。

IMAGE_TIFF

public static final FormContentType IMAGE_TIFF

FormContentType 的静态值 Line。

构造函数详细信息

FormContentType

@Deprecated
public FormContentType()

已放弃

使用 fromString(String value) 工厂方法。

创建 FormContentType 对象。

方法详细信息

fromString

public static FormContentType fromString(String value)

从 ElementType 的字符串表示形式创建或查找 ElementType。

Parameters:

value - 要查找的值。

Returns:

相应的 ElementType。

适用于