TextFormat Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<TextFormat> - com.
microsoft. azure. cognitiveservices. search. websearch. models. TextFormat
- com.
- com.
public class TextFormat
Defines values for TextFormat.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Text |
HTML
Static value Html for TextFormat. |
final Text |
RAW
Static value Raw for TextFormat. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Text |
fromString(String name)
Creates or finds a TextFormat from its string representation. |
Collection<Text |
values() |
Field Details
HTML
public static final TextFormat HTML= fromString("Html")
Static value Html for TextFormat.
RAW
public static final TextFormat RAW= fromString("Raw")
Static value Raw for TextFormat.
Method Details
fromString
public static TextFormat fromString(String name)
Creates or finds a TextFormat from its string representation.
Parameters:
name
- a name to look for
Returns:
the corresponding TextFormat
values
public static Collection
Returns:
known TextFormat values
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java