igeo
Class IOut
java.lang.Object
igeo.IOut
public class IOut
- extends java.lang.Object
A class to provide default static output stream.
- Version:
- 0.7.0.0;
- Author:
- Satoru Sugihara
Constructor Summary |
IOut()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ps
public static java.io.PrintStream ps
err
public static java.io.PrintStream err
debug
public static java.io.PrintStream debug
printPrefix
public static boolean printPrefix
enabled
public static boolean enabled
errEnabled
public static boolean errEnabled
debugEnabled
public static boolean debugEnabled
debugLevel
public static int debugLevel
printErrorPrefix
public static boolean printErrorPrefix
printDebugPrefix
public static boolean printDebugPrefix
errPrefix
public static java.lang.String errPrefix
debugPrefix
public static java.lang.String debugPrefix
stackDepth
public static int stackDepth
- depth of stack to show in the prefix. integer more than 1.
IOut
public IOut()
setStream
public static void setStream(java.io.PrintStream pstr)
setErrStream
public static void setErrStream(java.io.PrintStream pstr)
enablePrint
public static void enablePrint()
disablePrint
public static void disablePrint()
enableErr
public static void enableErr()
disableErr
public static void disableErr()
enableDebug
public static void enableDebug()
disableDebug
public static void disableDebug()
enablePrefix
public static void enablePrefix()
disablePrefix
public static void disablePrefix()
enableErrorPrefix
public static void enableErrorPrefix()
disableErrorPrefix
public static void disableErrorPrefix()
enableDebugPrefix
public static void enableDebugPrefix()
disableDebugPrefix
public static void disableDebugPrefix()
debugLevel
public static void debugLevel(int level)
debugLevel
public static int debugLevel()
printCurrentStack
protected static void printCurrentStack(java.io.PrintStream p)
printCurrentStack
protected static void printCurrentStack(java.io.PrintStream p,
int stackOffset)
printStack
protected static void printStack(java.io.PrintStream p,
java.lang.StackTraceElement stk)
currentStack
public static java.lang.String currentStack(int stackOffset)
stack
public static java.lang.String stack(java.lang.StackTraceElement stk)
p
public static void p(java.lang.Object str)
p
public static void p()
printlnWithOffset
public static void printlnWithOffset(java.lang.Object str,
int stackOffset)
- Parameters:
stackOffset
- offset of the depth of stack of calling subroutines, to controll what subroutine name to be printed
printlnWithOffset
public static void printlnWithOffset(int stackOffset)
- Parameters:
stackOffset
- offset of the depth of stack of calling subroutines, to controll what subroutine name to be printed
err
public static void err(java.lang.Object str)
err
public static void err()
errWithOffset
public static void errWithOffset(java.lang.Object str,
int stackOffset)
- Parameters:
stackOffset
- offset of the depth of stack of calling subroutines, to controll what subroutine name to be printed
errWithOffset
public static void errWithOffset(int stackOffset)
- Parameters:
stackOffset
- offset of the depth of stack of calling subroutines, to controll what subroutine name to be printed
debug
public static void debug(int level,
java.lang.Object str)
debug
public static void debug(int level)
println
public static void println(java.lang.Object str)
println
public static void println(boolean str)
println
public static void println(char str)
println
public static void println(char[] str)
println
public static void println(double str)
println
public static void println(float str)
println
public static void println(int str)
println
public static void println(long str)
println
public static void println(java.lang.String str)
println
public static void println()
print
public static void print(java.lang.Object str)
print
public static void print(boolean str)
print
public static void print(char str)
print
public static void print(char[] str)
print
public static void print(double str)
print
public static void print(float str)
print
public static void print(int str)
print
public static void print(long str)
print
public static void print(java.lang.String str)
flush
public static void flush()
get
public static java.io.PrintStream get()