Interface Indentable

All Known Implementing Classes:
IndentablePrintStream, NullPrintStream, TracePrintStream

public interface Indentable
This interface defines the methods IndentablePrintStreams must implement.
Author:
Christof Reichardt
  • Method Details

    • printIndent

      Indentable printIndent(String s)
      Prints an indented string.
      Parameters:
      s - the string to be printed
      Returns:
      the indentable stream itself
    • printIndentln

      Indentable printIndentln(String s)
      Prints an indented string together with a line feed.
      Parameters:
      s - the string to be printed
      Returns:
      the indentable stream itself
    • printfIndentln

      Indentable printfIndentln(String format, Object... args)
      A convenience method to print an indented string onto the stream using the specified format string and the given arguments.
      Parameters:
      format - the format string
      args - the to be printed arguments
      Returns:
      the indentable stream itself
    • printIndentString

      Indentable printIndentString()
      Prints only the current indentation.
      Returns:
      the indentable stream itself