/libcore/support/src/test/java/libcore/java/io/ |
H A D | NullPrintStream.java | 21 import java.io.PrintStream; 25 * A PrintStream that throws away its output. 27 public final class NullPrintStream extends PrintStream { 36 public PrintStream format(String format, Object... args) { return this; } 37 public PrintStream format(Locale l, String format, Object... args) { return this; } 38 public PrintStream printf(String format, Object... args) { return this; } 39 public PrintStream printf(Locale l, String format, Object... args) { return this; } 62 public PrintStream append(char c) { return this; } 63 public PrintStream append(CharSequence csq) { return this; } 64 public PrintStream appen [all...] |
/libcore/luni/src/test/java/libcore/java/util/logging/ |
H A D | OldErrorManagerTest.java | 21 import java.io.PrintStream; 27 private final PrintStream err = System.err; 28 private final PrintStream out = System.out; 39 PrintStream st = new PrintStream(aos);
|
/libcore/luni/src/main/java/java/io/ |
H A D | PrintStream.java | 35 public class PrintStream extends FilterOutputStream implements Appendable, Closeable { class in inherits:FilterOutputStream,Appendable,Closeable 37 * indicates whether or not this PrintStream has incurred an error. 42 * indicates whether or not this PrintStream should flush its contents after 50 * Constructs a new {@code PrintStream} with {@code out} as its target 59 public PrintStream(OutputStream out) { method in class:PrintStream 67 * Constructs a new {@code PrintStream} with {@code out} as its target 80 public PrintStream(OutputStream out, boolean autoFlush) { method in class:PrintStream 89 * Constructs a new {@code PrintStream} with {@code out} as its target 106 public PrintStream(OutputStream out, boolean autoFlush, String charsetName) method in class:PrintStream 126 * Constructs a new {@code PrintStream} wit 135 public PrintStream(File file) throws FileNotFoundException { method in class:PrintStream 155 public PrintStream(File file, String charsetName) throws FileNotFoundException, method in class:PrintStream 178 public PrintStream(String fileName) throws FileNotFoundException { method in class:PrintStream 199 public PrintStream(String fileName, String charsetName) method in class:PrintStream [all...] |
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | FileURLConnection.java | 28 import java.io.PrintStream; 151 PrintStream out = new PrintStream(bytes);
|
/libcore/luni/src/main/java/java/sql/ |
H A D | DriverManager.java | 21 import java.io.PrintStream; 43 private static PrintStream thePrintStream; 277 * Gets the log {@code PrintStream} used by the {@code DriverManager} and 281 * @return the {@code PrintStream} used for logging activities. 284 public static PrintStream getLogStream() { 300 * {@code PrintWriter} or (deprecated) the {@code PrintStream}, if set. 314 * If neither the PrintWriter not the PrintStream are set, then silently 355 * the {@code PrintStream} to use for logging. 358 public static void setLogStream(PrintStream out) {
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
H A D | XPathException.java | 78 public void printStackTrace( java.io.PrintStream s ) {
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | DatatypeConfigurationException.java | 24 import java.io.PrintStream; 111 public void printStackTrace(PrintStream s) {
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | Logger.java | 20 import java.io.PrintStream; 30 public static class Stream extends PrintStream {
|
H A D | HandshakeIODataStream.java | 21 import java.io.PrintStream;
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestTrustManager.java | 19 import java.io.PrintStream; 35 private static final PrintStream out = LOG ? System.out : new NullPrintStream();
|
H A D | TestKeyManager.java | 19 import java.io.PrintStream; 39 private static final PrintStream out = LOG ? System.out : new NullPrintStream();
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
H A D | InvocationTargetExceptionTest.java | 22 import java.io.PrintStream; 222 PrintStream ps = new PrintStream(bao); 223 PrintStream oldErr = System.err; 239 * java.lang.reflect.InvocationTargetException#printStackTrace(java.io.PrintStream) 243 // java.lang.reflect.InvocationTargetException.printStackTrace(java.io.PrintStream) 246 PrintStream ps = new PrintStream(bao);
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_TestWebServer.java | 569 PrintStream ps = new PrintStream(s.getOutputStream()); 681 void psPrint(PrintStream ps, String s) throws IOException { 687 void psWrite(PrintStream ps, byte[] bytes, int offset, int count) throws IOException { 693 void psWriteEOL(PrintStream ps) throws IOException { 700 void printStatus(PrintStream ps) throws IOException { 728 * @param ps The PrintStream to output response headers and data to 730 void printHeaders(PrintStream ps) throws IOException { 813 * @param ps The PrintStream to write to 815 void send404(PrintStream p [all...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | System.java | 44 import java.io.PrintStream; 76 public static final PrintStream out; 81 public static final PrintStream err; 87 err = new PrintStream(new FileOutputStream(FileDescriptor.err)); 88 out = new PrintStream(new FileOutputStream(FileDescriptor.out)); 111 public static void setOut(PrintStream newOut) { 112 setFieldImpl("out", "Ljava/io/PrintStream;", newOut); 123 public static void setErr(PrintStream newErr) { 124 setFieldImpl("err", "Ljava/io/PrintStream;", newErr);
|
H A D | Throwable.java | 23 import java.io.PrintStream; 286 public void printStackTrace(PrintStream err) { 290 // Appendable.append throws IOException but PrintStream.append doesn't.
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | SystemTest.java | 23 import java.io.PrintStream; 50 // java.io.PrintStream --- uses System.lineSeparator on Android but not on RI. 52 new PrintStream(baos).println();
|
H A D | OldThreadTest.java | 21 import java.io.PrintStream; 73 PrintStream savedErr = System.err; 75 System.setErr(new PrintStream(baos));
|
/libcore/luni/src/main/java/java/util/ |
H A D | Properties.java | 26 import java.io.PrintStream; 192 public void list(PrintStream out) { 232 // Appendable.append throws IOException, but PrintStream and PrintWriter don't. 719 PrintStream printStream = new PrintStream(os, false,
|
H A D | Formatter.java | 27 import java.io.PrintStream; 43 * {@link java.io.PrintStream} and {@link java.io.PrintWriter} both offer 873 * Constructs a {@code Formatter} whose output is written to the specified {@code PrintStream}. 881 * the {@code PrintStream} used as destination of the {@code Formatter}. If 885 public Formatter(PrintStream ps) {
|
/libcore/luni/src/main/java/javax/xml/transform/ |
H A D | TransformerException.java | 290 public void printStackTrace(java.io.PrintStream s) {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | ProviderTest.java | 29 import java.io.PrintStream; 588 PrintStream ps = new PrintStream(bout);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
H A D | HttpsURLConnectionTest.java | 28 import java.io.PrintStream; 857 private PrintStream out = System.out;
|
/libcore/support/src/test/java/libcore/java/security/ |
H A D | TestKeyStore.java | 30 import java.io.PrintStream; 816 PrintStream out = System.out;
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | CipherTest.java | 21 import java.io.PrintStream; 577 PrintStream out = new PrintStream(errBuffer); 1986 PrintStream out = new PrintStream(errBuffer); 2034 PrintStream out = new PrintStream(errBuffer);
|