StringIndexType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. documentintelligence. models. StringIndexType
- com.
- com.
public final class StringIndexType
extends ExpandableStringEnum<StringIndexType>
Method used to compute string offset and length.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
String |
TEXT_ELEMENTS
User-perceived display character, or grapheme cluster, as defined by Unicode 8.0.0. |
static final
String |
UNICODE_CODE_POINT
Character unit represented by a single unicode code point. |
static final
String |
UTF16_CODE_UNIT
Character unit represented by a 16-bit Unicode code unit. |
Constructor Summary
Constructor | Description |
---|---|
StringIndexType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of String |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
String |
fromString(String name)
Creates or finds a String |
static
Collection<String |
values()
Gets known String |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
TEXT_ELEMENTS
public static final StringIndexType TEXT_ELEMENTS
User-perceived display character, or grapheme cluster, as defined by Unicode 8.0.0.
UNICODE_CODE_POINT
public static final StringIndexType UNICODE_CODE_POINT
Character unit represented by a single unicode code point. Used by Python 3.
UTF16_CODE_UNIT
public static final StringIndexType UTF16_CODE_UNIT
Character unit represented by a 16-bit Unicode code unit. Used by JavaScript, Java, and .NET.
Constructor Details
StringIndexType
@Deprecated
public StringIndexType()
Deprecated
Creates a new instance of StringIndexType value.
Method Details
fromString
public static StringIndexType fromString(String name)
Creates or finds a StringIndexType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known StringIndexType values.
Returns:
Applies to
Azure SDK for Java