Class SystemTextTerminal

    • Constructor Detail

      • SystemTextTerminal

        public SystemTextTerminal()
    • Method Detail

      • read

        public java.lang.String read​(boolean masking)
        Description copied from interface: TextTerminal
        Reads a line of text
        Parameters:
        masking - true, if the input should be masked (for example to enter a password)
        Returns:
        the entered text
      • rawPrint

        public void rawPrint​(java.lang.String message)
        Description copied from interface: TextTerminal
        Prints the message in its raw form. This method expects a single line of text. The behavior is undefined if the string contains line separators.
      • println

        public void println()
        Description copied from interface: TextTerminal
        Terminates the current line by writing the line separator string.