public class AppendablePrinter
extends Object
implements Appendable
| Modifier and Type | Field and Description |
|---|---|
protected Appendable |
out |
| Constructor and Description |
|---|
AppendablePrinter(Appendable out) |
| Modifier and Type | Method and Description |
|---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence csq) |
Appendable |
append(CharSequence csq,
int start,
int end) |
void |
format(Locale l,
String format,
Object... args) |
void |
format(String format,
Object... args) |
void |
print(boolean b) |
void |
print(char c) |
void |
print(char[] s) |
void |
print(double d) |
void |
print(float f) |
void |
print(int i) |
void |
print(long l) |
void |
print(Object obj) |
void |
print(String s) |
void |
printf(Locale l,
String format,
Object... args) |
void |
printf(String format,
Object... args) |
void |
println() |
void |
println(boolean b) |
void |
println(char c) |
void |
println(char[] s) |
void |
println(double d) |
void |
println(float f) |
void |
println(int i) |
void |
println(long l) |
void |
println(Object obj) |
void |
println(String s) |
public Appendable append(CharSequence csq)
throws IOException
append in interface AppendableIOExceptionpublic Appendable append(CharSequence csq,
int start,
int end)
throws IOException
append in interface AppendableIOExceptionpublic Appendable append(char c)
throws IOException
append in interface AppendableIOExceptionpublic void format(String format,
Object... args)
throws IOException
IOExceptionpublic void format(Locale l,
String format,
Object... args)
throws IOException
IOExceptionpublic void print(boolean b)
throws IOException
IOExceptionpublic void print(char c)
throws IOException
IOExceptionpublic void print(int i)
throws IOException
IOExceptionpublic void print(long l)
throws IOException
IOExceptionpublic void print(float f)
throws IOException
IOExceptionpublic void print(double d)
throws IOException
IOExceptionpublic void print(char[] s)
throws IOException
IOExceptionpublic void print(String s)
throws IOException
IOExceptionpublic void print(Object obj)
throws IOException
IOExceptionpublic void printf(String format,
Object... args)
throws IOException
IOExceptionpublic void printf(Locale l,
String format,
Object... args)
throws IOException
IOExceptionpublic void println()
throws IOException
IOExceptionpublic void println(boolean b)
throws IOException
IOExceptionpublic void println(char c)
throws IOException
IOExceptionpublic void println(int i)
throws IOException
IOExceptionpublic void println(long l)
throws IOException
IOExceptionpublic void println(float f)
throws IOException
IOExceptionpublic void println(double d)
throws IOException
IOExceptionpublic void println(char[] s)
throws IOException
IOExceptionpublic void println(String s)
throws IOException
IOExceptionpublic void println(Object obj)
throws IOException
IOException