Class InputBufferUtils


  • public final class InputBufferUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String collectContent​(InputBuffer buf)
      Collects the actual input text the input buffer provides into a String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • collectContent

        public static java.lang.String collectContent​(InputBuffer buf)
        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