|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IOut
public class IOut
A class to provide default static output stream.
Field Summary | |
---|---|
static java.io.PrintStream |
debug
|
static boolean |
debugEnabled
|
static int |
debugLevel
|
static java.lang.String |
debugPrefix
|
static boolean |
enabled
|
static java.io.PrintStream |
err
|
static boolean |
errEnabled
|
static java.lang.String |
errPrefix
|
static boolean |
printDebugPrefix
|
static boolean |
printErrorPrefix
|
static boolean |
printPrefix
|
static java.io.PrintStream |
ps
|
static int |
stackDepth
depth of stack to show in the prefix. |
Constructor Summary | |
---|---|
IOut()
|
Method Summary | |
---|---|
static java.lang.String |
currentStack(int stackOffset)
|
static void |
debug(int level)
|
static void |
debug(int level,
java.lang.Object str)
|
static int |
debugLevel()
|
static void |
debugLevel(int level)
|
static void |
disableDebug()
|
static void |
disableDebugPrefix()
|
static void |
disableErr()
|
static void |
disableErrorPrefix()
|
static void |
disablePrefix()
|
static void |
disablePrint()
|
static void |
enableDebug()
|
static void |
enableDebugPrefix()
|
static void |
enableErr()
|
static void |
enableErrorPrefix()
|
static void |
enablePrefix()
|
static void |
enablePrint()
|
static void |
err()
error output only with prefix nor new line |
static void |
err(java.lang.Object str)
error output with prefix nor new line |
static void |
error(java.lang.Object str)
error output without prefix nor new line |
static void |
errWithOffset(int stackOffset)
|
static void |
errWithOffset(java.lang.Object str,
int stackOffset)
|
static void |
flush()
|
static java.io.PrintStream |
get()
|
static void |
p()
|
static void |
p(java.lang.Object str)
|
static void |
print(boolean str)
|
static void |
print(char str)
|
static void |
print(char[] str)
|
static void |
print(double str)
|
static void |
print(float str)
|
static void |
print(int str)
|
static void |
print(long str)
|
static void |
print(java.lang.Object str)
|
static void |
print(java.lang.String str)
|
protected static void |
printCurrentStack(java.io.PrintStream p)
|
protected static void |
printCurrentStack(java.io.PrintStream p,
int stackOffset)
|
static void |
println()
|
static void |
println(boolean str)
|
static void |
println(char str)
|
static void |
println(char[] str)
|
static void |
println(double str)
|
static void |
println(float str)
|
static void |
println(int str)
|
static void |
println(long str)
|
static void |
println(java.lang.Object str)
|
static void |
println(java.lang.String str)
|
static void |
printlnWithOffset(int stackOffset)
|
static void |
printlnWithOffset(java.lang.Object str,
int stackOffset)
|
protected static void |
printStack(java.io.PrintStream p,
java.lang.StackTraceElement stk)
|
static void |
setErrStream(java.io.PrintStream pstr)
|
static void |
setStream(java.io.PrintStream pstr)
|
static java.lang.String |
stack(java.lang.StackTraceElement stk)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.io.PrintStream ps
public static java.io.PrintStream err
public static java.io.PrintStream debug
public static boolean printPrefix
public static boolean enabled
public static boolean errEnabled
public static boolean debugEnabled
public static int debugLevel
public static boolean printErrorPrefix
public static boolean printDebugPrefix
public static java.lang.String errPrefix
public static java.lang.String debugPrefix
public static int stackDepth
Constructor Detail |
---|
public IOut()
Method Detail |
---|
public static void setStream(java.io.PrintStream pstr)
public static void setErrStream(java.io.PrintStream pstr)
public static void enablePrint()
public static void disablePrint()
public static void enableErr()
public static void disableErr()
public static void enableDebug()
public static void disableDebug()
public static void enablePrefix()
public static void disablePrefix()
public static void enableErrorPrefix()
public static void disableErrorPrefix()
public static void enableDebugPrefix()
public static void disableDebugPrefix()
public static void debugLevel(int level)
public static int debugLevel()
protected static void printCurrentStack(java.io.PrintStream p)
protected static void printCurrentStack(java.io.PrintStream p, int stackOffset)
protected static void printStack(java.io.PrintStream p, java.lang.StackTraceElement stk)
public static java.lang.String currentStack(int stackOffset)
public static java.lang.String stack(java.lang.StackTraceElement stk)
public static void p(java.lang.Object str)
public static void p()
public static void printlnWithOffset(java.lang.Object str, int stackOffset)
stackOffset
- offset of the depth of stack of calling subroutines, to controll what subroutine name to be printedpublic static void printlnWithOffset(int stackOffset)
stackOffset
- offset of the depth of stack of calling subroutines, to controll what subroutine name to be printedpublic static void err(java.lang.Object str)
public static void err()
public static void error(java.lang.Object str)
public static void errWithOffset(java.lang.Object str, int stackOffset)
stackOffset
- offset of the depth of stack of calling subroutines, to controll what subroutine name to be printedpublic static void errWithOffset(int stackOffset)
stackOffset
- offset of the depth of stack of calling subroutines, to controll what subroutine name to be printedpublic static void debug(int level, java.lang.Object str)
public static void debug(int level)
public static void println(java.lang.Object str)
public static void println(boolean str)
public static void println(char str)
public static void println(char[] str)
public static void println(double str)
public static void println(float str)
public static void println(int str)
public static void println(long str)
public static void println(java.lang.String str)
public static void println()
public static void print(java.lang.Object str)
public static void print(boolean str)
public static void print(char str)
public static void print(char[] str)
public static void print(double str)
public static void print(float str)
public static void print(int str)
public static void print(long str)
public static void print(java.lang.String str)
public static void flush()
public static java.io.PrintStream get()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |