TextFormat Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<TextFormat> - com.
microsoft. azure. cognitiveservices. search. customsearch. 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java