Class Printer
java.lang.Object
org.strassburger.tui4j.formatting.Printer
Deprecated.
A class to format and print text to the console
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.Print text to the consolestatic voidprintCentered(String text) Deprecated.Print text to the console centeredstatic voidDeprecated.Format and print text to the console with a newlinestatic voidDeprecated.Format and print text to the console with a newlinestatic voidDeprecated.Print text to the console with a newlinestatic voidprintSpaceBetween(String leftText, String rightText) Deprecated.Print text to the console with a space betweenstatic voidprintSpaceBetween(String leftText, String rightText, String spaceChar) Deprecated.Print text to the console with a space between
-
Constructor Details
-
Printer
public Printer()Deprecated.
-
-
Method Details
-
print
Deprecated.Print text to the console- Parameters:
text- the text to print
-
println
Deprecated.Print text to the console with a newline- Parameters:
text- the text to print
-
printf
Deprecated.Format and print text to the console with a newline- Parameters:
format- the format stringargs- the arguments to format
-
printfln
Deprecated.Format and print text to the console with a newline- Parameters:
format- the format stringargs- the arguments to format
-
printCentered
Deprecated.Print text to the console centered- Parameters:
text- the text to print
-
printSpaceBetween
Deprecated.Print text to the console with a space between- Parameters:
leftText- the text to print on the leftrightText- the text to print on the right
-
printSpaceBetween
Deprecated.Print text to the console with a space between- Parameters:
leftText- the text to print on the leftrightText- the text to print on the rightspaceChar- the character to use for the space
-
ConsolePrinterinstead