Interface PrettyString


  • public interface PrettyString
    A simple interface for objects that can return pretty (ie. prefixed) string representations of themselves.
    Version:
    $Revision$
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  PrettyString.Appendable
      Interface for appending the objects pretty string onto a buffer.
    • Method Detail

      • toPrettyString

        java.lang.String toPrettyString​(java.lang.String prefix)
        Returns a pretty representation of the object.
        Parameters:
        prefix - The string which all lines of the output must be prefixed with.
        Returns:
        A pretty representation of the object.