DocumentSpan Class
- java.
lang. Object - com.
azure. ai. formrecognizer. documentanalysis. models. DocumentSpan
- com.
public final class DocumentSpan
Contiguous region of the concatenated content property, specified as an offset and length.
Constructor Summary
Constructor | Description |
---|---|
DocumentSpan() |
Creates a Document |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Get the length property: Number of characters in the content represented by the span. |
int |
getOffset()
Get the offset property: Zero-based index of the content represented by the span. |
Methods inherited from java.lang.Object
Constructor Details
DocumentSpan
public DocumentSpan()
Creates a DocumentSpan object.
Method Details
getLength
public int getLength()
Get the length property: Number of characters in the content represented by the span.
Returns:
the length value.
getOffset
public int getOffset()
Get the offset property: Zero-based index of the content represented by the span.
Returns:
the offset value.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java