|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--com.objectwave.utility.DebugOutput
This type was created in VisualAge.
Field Summary | |
static int |
HIGH
|
static int |
LOW
|
static int |
MEDIUM
|
static int |
OFF
|
Constructor Summary | |
DebugOutput()
DebugOutput constructor comment. |
|
DebugOutput(int level)
This method was created in VisualAge. |
|
DebugOutput(int level,
java.lang.String prefix)
This method was created in VisualAge. |
|
DebugOutput(int level,
java.lang.String prefix,
java.text.DateFormat dateFormat)
This method was created in VisualAge. |
Method Summary | |
void |
close()
This method was created in VisualAge. |
void |
flush()
This method was created in VisualAge. |
java.text.DateFormat |
getDateFormat()
This method was created in VisualAge. |
static DebugOutput |
getDefault()
|
boolean |
getIncludeThreadHash()
This method was created in VisualAge. |
int |
getLevel()
This method was created in VisualAge. |
java.io.OutputStream |
getOutputStream()
This method was created in VisualAge. |
protected java.io.Writer |
getOutputWriter()
This method was created in VisualAge. |
java.lang.String |
getPrefix()
This method was created in VisualAge. |
void |
println(int level,
java.lang.String string)
|
void |
setDateFormat(java.text.DateFormat newValue)
This method was created in VisualAge. |
void |
setIncludeThreadHash(boolean newValue)
This method was created in VisualAge. |
void |
setLevel(int newValue)
This method was created in VisualAge. |
void |
setOutputStream(java.io.OutputStream newValue)
This method was created in VisualAge. |
protected void |
setOutputWriter(java.io.Writer newValue)
This method was created in VisualAge. |
void |
setPrefix(java.lang.String newValue)
This method was created in VisualAge. |
void |
write(byte[] b,
int off,
int len)
This method was created in VisualAge. |
void |
write(int b)
This method was created in VisualAge. |
Methods inherited from class java.io.OutputStream |
write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int OFF
public static final int LOW
public static final int MEDIUM
public static final int HIGH
Constructor Detail |
public DebugOutput()
public DebugOutput(int level)
level
- intpublic DebugOutput(int level, java.lang.String prefix)
level
- intprefix
- java.lang.Stringpublic DebugOutput(int level, java.lang.String prefix, java.text.DateFormat dateFormat)
level
- intprefix
- java.lang.StringdateFormat
- java.text.DateFormatMethod Detail |
public void close() throws java.io.IOException
close
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in class java.io.OutputStream
java.io.IOException
public java.text.DateFormat getDateFormat()
public static DebugOutput getDefault()
public boolean getIncludeThreadHash()
public int getLevel()
public java.io.OutputStream getOutputStream()
protected java.io.Writer getOutputWriter()
public java.lang.String getPrefix()
public void println(int level, java.lang.String string)
level
- intstring
- java.lang.Stringpublic void setDateFormat(java.text.DateFormat newValue)
newValue
- java.text.DateFormatpublic void setIncludeThreadHash(boolean newValue)
newValue
- booleanpublic void setLevel(int newValue)
newValue
- intpublic void setOutputStream(java.io.OutputStream newValue)
newValue
- java.io.OutputStreamprotected void setOutputWriter(java.io.Writer newValue)
newValue
- java.io.Writerpublic void setPrefix(java.lang.String newValue)
newValue
- java.lang.Stringpublic void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
b
- byte[]off
- intlen
- int
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
b
- int
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |