Class PrettierPrinter

java.lang.Object
com.graphs.utils.PrettierPrinter

public class PrettierPrinter extends Object
This utility class is a printer introducing methods that helps your printed outputs to be prettier. It provides separators and headers.
Since:
2.0
Author:
Ɓukasz Malara
  • Constructor Details

    • PrettierPrinter

      public PrettierPrinter()
  • Method Details

    • printSeparator

      public static void printSeparator()
      This method prints separator.
      Since:
      1.0
    • newLine

      public static void newLine()
      This method terminates the current line.
      Since:
      2.0
    • printlnSeparator

      public static void printlnSeparator()
      This method prints the separator and terminates the line.
      Since:
      2.0
    • printHeader

      public static void printHeader(String header)
      This method prints formatted header.
      Parameters:
      header - value to print prettier.
      Since:
      2.0
    • printTextAmongSeparators

      private static void printTextAmongSeparators(String text)
      This method prints formatted text.
      Parameters:
      text - a value to print prettier
      Since:
      2.0
    • printFooter

      public static void printFooter(String footer)
      This method prints formatted footer.
      Parameters:
      footer - value to print prettier.
      Since:
      2.0