Class PathsVisuals

java.lang.Object
lib.aide.paths.PathsVisuals

public class PathsVisuals extends Object
This class provides visual representation utilities for the Paths class.
  • Constructor Details

    • PathsVisuals

      public PathsVisuals()
  • Method Details

    • asciiTree

      public <C, P> String asciiTree(Paths<C,P> paths, Optional<PathsVisuals.PayloadContentSupplier<C,P>> payloadRenderer)
      Generates an ASCII tree representation of the given Paths object.
      Type Parameters:
      C - the type of the path components
      P - the type of the payload
      Parameters:
      paths - the Paths object to visualize
      Returns:
      a string representing the ASCII tree