Package org.parboiled.buffers
Class InputBufferUtils
java.lang.Object
org.parboiled.buffers.InputBufferUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Collects the actual input text the input buffer provides into a String.
-
Method Details
-
collectContent
Collects the actual input text the input buffer provides into a String. This is especially useful for IndentDedentInputBuffers created by "transformIndents".- Parameters:
buf
- the input buffer to collect from- Returns:
- a string containing the content of the given input buffer
-