Home
last modified time | relevance | path

Searched refs:Console (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/io/
DConsole.java26 public final class Console implements Flushable { class
29 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 Console
74 public Console format(String format, Object... args) { in format()
84 public Console printf(String format, Object... args) { in printf()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DConsoleTest.java23 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()
/libcore/luni/src/main/java/java/lang/
DSystem.java41 import java.io.Console;
939 public static Console console() { in console()
940 return Console.getConsole(); in console()