Class ConsoleUtils


  • @API(status=INTERNAL,
         since="1.9")
    public class ConsoleUtils
    extends java.lang.Object
    Collection of utilities for working with java.io.Console and friends.

    DISCLAIMER

    These utilities are intended solely for usage within the JUnit framework itself. Any usage by external parties is not supported. Use at your own risk!

    Since:
    1.9
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsoleUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.nio.charset.Charset charset()
      {@return the charset of the console}
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsoleUtils

        public ConsoleUtils()
    • Method Detail

      • charset

        public static java.nio.charset.Charset charset()
        {@return the charset of the console}