java.lang.Object
io.cucumber.gherkin.Line
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final intThe offset in code-points of the first non-whitespace character in this line.private final StringThe line text, including all leading and trailing whitespace characters.private final StringThe line text with any whitespace characters trimmed.private final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int(package private) String(package private) StringgetRawTextSubstring(int indentToRemove) (package private) StringgetText()(package private) booleanisEmpty()(package private) booleanstartsWith(char prefix) (package private) booleanstartsWith(String prefix) (package private) booleanstartsWithTitleKeyword(String keyword) (package private) StringsubstringTrimmed(int beginIndex)
-
Field Details
-
rawText
The line text, including all leading and trailing whitespace characters. -
empty
private final boolean empty -
text
The line text with any whitespace characters trimmed. -
indent
private final int indentThe offset in code-points of the first non-whitespace character in this line. -
textLength
private final int textLength
-
-
Constructor Details
-
Line
Line(String rawText)
-
-
Method Details