-
Nested Class Summary
Nested Classes
static enum
Indicates the parse-state of the Content.
-
Method Summary
Gives the parse-state of the Content.
void
Add the line to the content.
void
Informs the Content that the last newline should be removed again.
-
Method Details
-
parseLine
Add the line to the content.
- Parameters:
line - The line to add.
-
stripLastNewline
void stripLastNewline()
Informs the Content that the last newline should be removed again. The
newline before a boundary is part of the boundary, not of the content.
-
isFinished
Gives the parse-state of the Content. This indicates if more content is
expected or not.
- Returns:
- the parse-state of the Content.