public class Err extends Object
System.err.print and println
methods.Modifier and Type | Method and Description |
---|---|
static void |
flush()
Flush the output stream.
|
static char |
getPadChar()
An accesor method for padChar
|
static PrintWriter |
getPrintWriter()
This sets a new printWriter
|
static void |
padPr(String s,
int padding)
Print padding followed by String s.
|
static void |
pr(boolean b) |
static void |
pr(char c) |
static void |
pr(char[] s) |
static void |
pr(double d) |
static void |
pr(float f) |
static void |
pr(int i) |
static void |
pr(long l) |
static void |
pr(Object obj) |
static void |
pr(String s) |
static void |
print(boolean b) |
static void |
print(char c) |
static void |
print(char[] s) |
static void |
print(double d) |
static void |
print(float f) |
static void |
print(int i) |
static void |
print(long l) |
static void |
print(Object obj) |
static void |
print(String s) |
static void |
println() |
static void |
println(boolean x) |
static void |
println(char x) |
static void |
println(char[] x) |
static void |
println(double x) |
static void |
println(float x) |
static void |
println(int x) |
static void |
println(long x) |
static void |
println(Object x) |
static void |
println(String x) |
static void |
prln() |
static void |
prln(boolean x) |
static void |
prln(char x) |
static void |
prln(char[] x) |
static void |
prln(double x) |
static void |
prln(float x) |
static void |
prln(int x) |
static void |
prln(long x) |
static void |
prln(Object x) |
static void |
prln(String x) |
static void |
setPadChar(char aChar)
A mutator method for padChar
|
static void |
setPrintWriter(PrintWriter aPrintWriter)
This sets a new printWriter
|
public static void flush()
public static void setPrintWriter(PrintWriter aPrintWriter)
public static PrintWriter getPrintWriter()
public static void print(boolean b)
PrintWriter.print(boolean)
public static void print(char c)
PrintWriter.print(char)
public static void print(int i)
PrintWriter.print(int)
public static void print(long l)
PrintWriter.print(long)
public static void print(float f)
PrintWriter.print(float)
public static void print(double d)
PrintWriter.print(double)
public static void print(char[] s)
PrintWriter.print(char[])
public static void print(String s)
PrintWriter.print(java.lang.String)
public static void print(Object obj)
PrintWriter.print(java.lang.Object)
public static void println()
PrintWriter.println()
public static void println(boolean x)
PrintWriter.println(boolean)
public static void println(char x)
PrintWriter.println(char)
public static void println(int x)
PrintWriter.println(int)
public static void println(long x)
PrintWriter.println(long)
public static void println(float x)
PrintWriter.println(float)
public static void println(double x)
PrintWriter.println(double)
public static void println(char[] x)
PrintWriter.println(char[])
public static void println(String x)
PrintWriter.println(java.lang.String)
public static void println(Object x)
PrintWriter.println(java.lang.Object)
public static void pr(boolean b)
PrintWriter.print(boolean)
public static void pr(char c)
PrintWriter.print(char)
public static void pr(int i)
PrintWriter.print(int)
public static void pr(long l)
PrintWriter.print(long)
public static void pr(float f)
PrintWriter.print(float)
public static void pr(double d)
PrintWriter.print(double)
public static void pr(char[] s)
PrintWriter.print(char[])
public static void pr(String s)
PrintWriter.print(java.lang.String)
public static void pr(Object obj)
PrintWriter.print(java.lang.Object)
public static void prln()
PrintWriter.println()
public static void prln(boolean x)
PrintWriter.println(boolean)
public static void prln(char x)
PrintWriter.println(char)
public static void prln(int x)
PrintWriter.println(int)
public static void prln(long x)
PrintWriter.println(long)
public static void prln(float x)
PrintWriter.println(float)
public static void prln(double x)
PrintWriter.println(double)
public static void prln(char[] x)
PrintWriter.println(char[])
public static void prln(String x)
PrintWriter.println(java.lang.String)
public static void prln(Object x)
PrintWriter.println(java.lang.Object)
public static void setPadChar(char aChar)
public static char getPadChar()
public static void padPr(String s, int padding)
Copyright © 2024 GATE. All rights reserved.