1 /*
2  * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * This code is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 only, as
7  * published by the Free Software Foundation.  Oracle designates this
8  * particular file as subject to the "Classpath" exception as provided
9  * by Oracle in the LICENSE file that accompanied this code.
10  *
11  * This code is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * version 2 for more details (a copy is included in the LICENSE file that
15  * accompanied this code).
16  *
17  * You should have received a copy of the GNU General Public License version
18  * 2 along with this work; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22  * or visit www.oracle.com if you need additional information or have any
23  * questions.
24  */
25 
26 
27 package java.io;
28 
29 import java.nio.charset.Charset;
30 import java.util.Formatter;
31 import java.util.Locale;
32 
33 @SuppressWarnings({"unchecked", "deprecation", "all"})
34 public class PrintWriter extends java.io.Writer {
35 
PrintWriter(@ibcore.util.NonNull java.io.Writer out)36 public PrintWriter(@libcore.util.NonNull java.io.Writer out) { throw new RuntimeException("Stub!"); }
37 
PrintWriter(@ibcore.util.NonNull java.io.Writer out, boolean autoFlush)38 public PrintWriter(@libcore.util.NonNull java.io.Writer out, boolean autoFlush) { throw new RuntimeException("Stub!"); }
39 
PrintWriter(@ibcore.util.NonNull java.io.OutputStream out)40 public PrintWriter(@libcore.util.NonNull java.io.OutputStream out) { throw new RuntimeException("Stub!"); }
41 
PrintWriter(@ibcore.util.NonNull java.io.OutputStream out, boolean autoFlush)42 public PrintWriter(@libcore.util.NonNull java.io.OutputStream out, boolean autoFlush) { throw new RuntimeException("Stub!"); }
43 
PrintWriter(@ibcore.util.NonNull java.io.OutputStream out, boolean autoFlush, @libcore.util.NonNull java.nio.charset.Charset charset)44 public PrintWriter(@libcore.util.NonNull java.io.OutputStream out, boolean autoFlush, @libcore.util.NonNull java.nio.charset.Charset charset) { throw new RuntimeException("Stub!"); }
45 
PrintWriter(@ibcore.util.NonNull java.lang.String fileName)46 public PrintWriter(@libcore.util.NonNull java.lang.String fileName) throws java.io.FileNotFoundException { throw new RuntimeException("Stub!"); }
47 
PrintWriter(@ibcore.util.NonNull java.lang.String fileName, @libcore.util.NonNull java.lang.String csn)48 public PrintWriter(@libcore.util.NonNull java.lang.String fileName, @libcore.util.NonNull java.lang.String csn) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException { throw new RuntimeException("Stub!"); }
49 
PrintWriter(@ibcore.util.NonNull java.lang.String fileName, @libcore.util.NonNull java.nio.charset.Charset charset)50 public PrintWriter(@libcore.util.NonNull java.lang.String fileName, @libcore.util.NonNull java.nio.charset.Charset charset) throws java.io.IOException { throw new RuntimeException("Stub!"); }
51 
PrintWriter(@ibcore.util.NonNull java.io.File file)52 public PrintWriter(@libcore.util.NonNull java.io.File file) throws java.io.FileNotFoundException { throw new RuntimeException("Stub!"); }
53 
PrintWriter(@ibcore.util.NonNull java.io.File file, @libcore.util.NonNull java.nio.charset.Charset charset)54 public PrintWriter(@libcore.util.NonNull java.io.File file, @libcore.util.NonNull java.nio.charset.Charset charset) throws java.io.IOException { throw new RuntimeException("Stub!"); }
55 
PrintWriter(@ibcore.util.NonNull java.io.File file, @libcore.util.NonNull java.lang.String csn)56 public PrintWriter(@libcore.util.NonNull java.io.File file, @libcore.util.NonNull java.lang.String csn) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException { throw new RuntimeException("Stub!"); }
57 
flush()58 public void flush() { throw new RuntimeException("Stub!"); }
59 
close()60 public void close() { throw new RuntimeException("Stub!"); }
61 
checkError()62 public boolean checkError() { throw new RuntimeException("Stub!"); }
63 
setError()64 protected void setError() { throw new RuntimeException("Stub!"); }
65 
clearError()66 protected void clearError() { throw new RuntimeException("Stub!"); }
67 
write(int c)68 public void write(int c) { throw new RuntimeException("Stub!"); }
69 
write(char[] buf, int off, int len)70 public void write(char[] buf, int off, int len) { throw new RuntimeException("Stub!"); }
71 
write(char[] buf)72 public void write(char[] buf) { throw new RuntimeException("Stub!"); }
73 
write(@ibcore.util.NonNull java.lang.String s, int off, int len)74 public void write(@libcore.util.NonNull java.lang.String s, int off, int len) { throw new RuntimeException("Stub!"); }
75 
write(@ibcore.util.NonNull java.lang.String s)76 public void write(@libcore.util.NonNull java.lang.String s) { throw new RuntimeException("Stub!"); }
77 
print(boolean b)78 public void print(boolean b) { throw new RuntimeException("Stub!"); }
79 
print(char c)80 public void print(char c) { throw new RuntimeException("Stub!"); }
81 
print(int i)82 public void print(int i) { throw new RuntimeException("Stub!"); }
83 
print(long l)84 public void print(long l) { throw new RuntimeException("Stub!"); }
85 
print(float f)86 public void print(float f) { throw new RuntimeException("Stub!"); }
87 
print(double d)88 public void print(double d) { throw new RuntimeException("Stub!"); }
89 
print(char[] s)90 public void print(char[] s) { throw new RuntimeException("Stub!"); }
91 
print(@ibcore.util.Nullable java.lang.String s)92 public void print(@libcore.util.Nullable java.lang.String s) { throw new RuntimeException("Stub!"); }
93 
print(@ibcore.util.Nullable java.lang.Object obj)94 public void print(@libcore.util.Nullable java.lang.Object obj) { throw new RuntimeException("Stub!"); }
95 
println()96 public void println() { throw new RuntimeException("Stub!"); }
97 
println(boolean x)98 public void println(boolean x) { throw new RuntimeException("Stub!"); }
99 
println(char x)100 public void println(char x) { throw new RuntimeException("Stub!"); }
101 
println(int x)102 public void println(int x) { throw new RuntimeException("Stub!"); }
103 
println(long x)104 public void println(long x) { throw new RuntimeException("Stub!"); }
105 
println(float x)106 public void println(float x) { throw new RuntimeException("Stub!"); }
107 
println(double x)108 public void println(double x) { throw new RuntimeException("Stub!"); }
109 
println(char[] x)110 public void println(char[] x) { throw new RuntimeException("Stub!"); }
111 
println(@ibcore.util.Nullable java.lang.String x)112 public void println(@libcore.util.Nullable java.lang.String x) { throw new RuntimeException("Stub!"); }
113 
println(@ibcore.util.Nullable java.lang.Object x)114 public void println(@libcore.util.Nullable java.lang.Object x) { throw new RuntimeException("Stub!"); }
115 
printf(@ibcore.util.NonNull java.lang.String format, java.lang.@libcore.util.Nullable Object @libcore.util.NonNull ... args)116 @libcore.util.NonNull public java.io.PrintWriter printf(@libcore.util.NonNull java.lang.String format, java.lang.@libcore.util.Nullable Object @libcore.util.NonNull ... args) { throw new RuntimeException("Stub!"); }
117 
printf(@ibcore.util.Nullable java.util.Locale l, @libcore.util.NonNull java.lang.String format, java.lang.@libcore.util.Nullable Object @libcore.util.NonNull ... args)118 @libcore.util.NonNull public java.io.PrintWriter printf(@libcore.util.Nullable java.util.Locale l, @libcore.util.NonNull java.lang.String format, java.lang.@libcore.util.Nullable Object @libcore.util.NonNull ... args) { throw new RuntimeException("Stub!"); }
119 
format(@ibcore.util.NonNull java.lang.String format, java.lang.@libcore.util.Nullable Object @libcore.util.NonNull ... args)120 @libcore.util.NonNull public java.io.PrintWriter format(@libcore.util.NonNull java.lang.String format, java.lang.@libcore.util.Nullable Object @libcore.util.NonNull ... args) { throw new RuntimeException("Stub!"); }
121 
format(@ibcore.util.Nullable java.util.Locale l, @libcore.util.NonNull java.lang.String format, java.lang.@libcore.util.Nullable Object @libcore.util.NonNull ... args)122 @libcore.util.NonNull public java.io.PrintWriter format(@libcore.util.Nullable java.util.Locale l, @libcore.util.NonNull java.lang.String format, java.lang.@libcore.util.Nullable Object @libcore.util.NonNull ... args) { throw new RuntimeException("Stub!"); }
123 
append(@ibcore.util.Nullable java.lang.CharSequence csq)124 @libcore.util.NonNull public java.io.PrintWriter append(@libcore.util.Nullable java.lang.CharSequence csq) { throw new RuntimeException("Stub!"); }
125 
append(@ibcore.util.Nullable java.lang.CharSequence csq, int start, int end)126 @libcore.util.NonNull public java.io.PrintWriter append(@libcore.util.Nullable java.lang.CharSequence csq, int start, int end) { throw new RuntimeException("Stub!"); }
127 
append(char c)128 @libcore.util.NonNull public java.io.PrintWriter append(char c) { throw new RuntimeException("Stub!"); }
129 
130 protected java.io.Writer out;
131 }
132