Class ConsoleUtils

java.lang.Object
dimstyl.orm.internal.utils.ConsoleUtils

public final class ConsoleUtils extends Object
Utility class for console-based formatted output.

This class provides a convenient method for printing formatted messages to the standard output using System.out.printf().

Usage Example:

     ConsoleUtils.printFormatted("Hello, %s!", "World");
     // Output: Hello, World!
 

Design Notes:

  • This class is final to prevent inheritance.
  • The constructor is private to enforce a static utility pattern.
  • Constructor Details

    • ConsoleUtils

      private ConsoleUtils()
      Private constructor to prevent instantiation.
  • Method Details

    • printFormatted

      public static void printFormatted(String message, Object... args)
      Prints a formatted message to the console.
      Parameters:
      message - The format string, following Formatter syntax.
      args - The arguments referenced by the format specifiers in the message.