Class LineEnding
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<LineEnding>
-
- com.azure.search.documents.indexes.models.LineEnding
-
public final class LineEnding extends com.azure.core.util.ExpandableStringEnum<LineEnding>
Defines values for LineEnding.
-
-
Field Summary
Fields Modifier and Type Field Description static LineEnding
CARRIAGE_RETURN
Static value carriageReturn for LineEnding.static LineEnding
CARRIAGE_RETURN_LINE_FEED
Static value carriageReturnLineFeed for LineEnding.static LineEnding
LINE_FEED
Static value lineFeed for LineEnding.static LineEnding
SPACE
Static value space for LineEnding.
-
Constructor Summary
Constructors Constructor Description LineEnding()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LineEnding
fromString(String name)
Creates or finds a LineEnding from its string representation.static Collection<LineEnding>
values()
-
-
-
Field Detail
-
SPACE
public static final LineEnding SPACE
Static value space for LineEnding.
-
CARRIAGE_RETURN
public static final LineEnding CARRIAGE_RETURN
Static value carriageReturn for LineEnding.
-
LINE_FEED
public static final LineEnding LINE_FEED
Static value lineFeed for LineEnding.
-
CARRIAGE_RETURN_LINE_FEED
public static final LineEnding CARRIAGE_RETURN_LINE_FEED
Static value carriageReturnLineFeed for LineEnding.
-
-
Method Detail
-
fromString
public static LineEnding fromString(String name)
Creates or finds a LineEnding from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding LineEnding.
-
values
public static Collection<LineEnding> values()
- Returns:
- known LineEnding values.
-
-