Interface PrettyString.Appendable

  • Enclosing interface:
    PrettyString

    public static interface PrettyString.Appendable
    Interface for appending the objects pretty string onto a buffer.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.StringBuffer appendPrettyString​(java.lang.StringBuffer buff, java.lang.String prefix)
      Appends a pretty representation of the object to the given buffer.
    • Method Detail

      • appendPrettyString

        java.lang.StringBuffer appendPrettyString​(java.lang.StringBuffer buff,
                                                  java.lang.String prefix)
        Appends a pretty representation of the object to the given buffer.
        Parameters:
        buff - The buffer to use while making pretty.
        prefix - The string which all lines of the output must be prefixed with.
        Returns:
        The buffer.