-
Notifications
You must be signed in to change notification settings - Fork 3
2.1 IParsedFile
This interface allows users to extract information from a parsed file, line by line.
Objects implementing it are supposed to store internally the whole parsed file.
Extracts next IParsedFile line, modifying it.
This means that a future NextLine()
invocation will return following line, as it's usually desired.
Extracts next IParsedFile line, without modifying it.
This means that consecutive PeekNextLine()
invocations will return the same information.
Returns remaining file items as a list, providing they're all of the same type.
If a lineSeparator
is selected, chosen string will be added after last item of every line.
Returns remaining file items as a single string.
If a lineSeparator
is selected, chosen string will be added to after last item of every line.
If a wordSeparator
is selected, chosen string will be added after every word. By default, a blank space is added, but using string.Empty()
can be explicitly used to avoid those blank spaces.
Returns the size (remaining number of lines) of IParsedFile.
Returns true if IParsedFile has no remaining lines.
Using Empty
intends to perform better than comparing Count
result against zero.