Package com.graphs.utils
Class PrettierPrinter
java.lang.Object
com.graphs.utils.PrettierPrinter
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 Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidnewLine()This method terminates the current line.static voidprintFooter(String footer) This method prints formatted footer.static voidprintHeader(String header) This method prints formatted header.static voidThis method prints the separator and terminates the line.static voidThis method prints separator.private static voidThis method prints formatted text. 
- 
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
This method prints formatted header.- Parameters:
 header- value to print prettier.- Since:
 - 2.0
 
 - 
printTextAmongSeparators
This method prints formatted text.- Parameters:
 text- a value to print prettier- Since:
 - 2.0
 
 
 -