Delen via


FormRecognizerLocale Class

public final class FormRecognizerLocale
extends ExpandableStringEnum<FormRecognizerLocale>

Defines values for FormRecognizerLocale.

Field Summary

Modifier and Type Field and Description
static final FormRecognizerLocale EN_AU

Static value en-AU for FormRecognizerLocale.

static final FormRecognizerLocale EN_CA

Static value en-CA for FormRecognizerLocale.

static final FormRecognizerLocale EN_GB

Static value en-GB for FormRecognizerLocale.

static final FormRecognizerLocale EN_IN

Static value en-IN for FormRecognizerLocale.

static final FormRecognizerLocale EN_US

Static value en-US for FormRecognizerLocale.

Constructor Summary

Constructor Description
FormRecognizerLocale()

Deprecated

Use the fromString(String name) factory method.

Creates a FormRecognizerLocale object.

Method Summary

Modifier and Type Method and Description
static FormRecognizerLocale fromString(String name)

Creates or finds a FormRecognizerLocale from its string representation.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

EN_AU

public static final FormRecognizerLocale EN_AU

Static value en-AU for FormRecognizerLocale.

EN_CA

public static final FormRecognizerLocale EN_CA

Static value en-CA for FormRecognizerLocale.

EN_GB

public static final FormRecognizerLocale EN_GB

Static value en-GB for FormRecognizerLocale.

EN_IN

public static final FormRecognizerLocale EN_IN

Static value en-IN for FormRecognizerLocale.

EN_US

public static final FormRecognizerLocale EN_US

Static value en-US for FormRecognizerLocale.

Constructor Details

FormRecognizerLocale

@Deprecated
public FormRecognizerLocale()

Deprecated

Use the fromString(String name) factory method.

Creates a FormRecognizerLocale object.

Method Details

fromString

public static FormRecognizerLocale fromString(String name)

Creates or finds a FormRecognizerLocale from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FormRecognizerLocale.

Applies to