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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java