FormContentType Class

public final class FormContentType
extends ExpandableStringEnum<FormContentType>

Define values for content type supported for local files.

Field Summary

Modifier and Type Field and Description
static final FormContentType APPLICATION_PDF

Static value Line for FormContentType.

static final FormContentType IMAGE_BMP

Static value Line for FormContentType.

static final FormContentType IMAGE_JPEG

Static value Line for FormContentType.

static final FormContentType IMAGE_PNG

Static value Line for FormContentType.

static final FormContentType IMAGE_TIFF

Static value Line for FormContentType.

Constructor Summary

Constructor Description
FormContentType()

Deprecated

Use the fromString(String value) factory method.

Creates a FormContentType object.

Method Summary

Modifier and Type Method and Description
static FormContentType fromString(String value)

Creates or finds a ElementType from its string representation.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

APPLICATION_PDF

public static final FormContentType APPLICATION_PDF

Static value Line for FormContentType.

IMAGE_BMP

public static final FormContentType IMAGE_BMP

Static value Line for FormContentType.

IMAGE_JPEG

public static final FormContentType IMAGE_JPEG

Static value Line for FormContentType.

IMAGE_PNG

public static final FormContentType IMAGE_PNG

Static value Line for FormContentType.

IMAGE_TIFF

public static final FormContentType IMAGE_TIFF

Static value Line for FormContentType.

Constructor Details

FormContentType

@Deprecated
public FormContentType()

Deprecated

Use the fromString(String value) factory method.

Creates a FormContentType object.

Method Details

fromString

public static FormContentType fromString(String value)

Creates or finds a ElementType from its string representation.

Parameters:

value - a value to look for.

Returns:

the corresponding ElementType.

Applies to