Class Path.UnfoldedSubstring

  • Enclosing class:
    Path

    protected final class Path.UnfoldedSubstring
    extends Object

    Representation for a substring of the input string, FWS unfolded.

    toString() will return the (unfolded) wire representation, getData() the unfolded user representation. Neither are true substrings of the input any more if unfolding, as in Path.unfold(String), was necessary.

    Author:
    mirabilos (t.glaser@tarent.de)
    • Method Detail

      • toString

        public String toString()
        Returns the string representation of this Parser.Substring, in our case, an unfolded (see Path.unfold(String)) copy of the on-wire representation.
        Returns:
        String representation