Searched refs:Console (Results 1 – 3 of 3) sorted by relevance
26 public final class Console implements Flushable { class29 private static final Console console = makeConsole();38 public static Console getConsole() { in getConsole()42 private static Console makeConsole() { in makeConsole()48 return new Console(System.in, System.out); in makeConsole()54 private Console(InputStream in, OutputStream out) throws UnsupportedEncodingException { in Console() method in Console74 public Console format(String format, Object... args) { in format()84 public Console printf(String format, Object... args) { in printf()
23 import java.io.Console;44 private Console console = null;49 Constructor<Console> constructor = in setUp()50 Console.class.getDeclaredConstructor(InputStream.class, OutputStream.class); in setUp()
41 import java.io.Console;939 public static Console console() { in console()940 return Console.getConsole(); in console()