Package org.glassfish.admin.amx.util
Class AMXDebug.WrapOutput
- java.lang.Object
-
- org.glassfish.admin.amx.util.AMXDebug.WrapOutput
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Done with it, can be destroyed.boolean
getDebug()
void
print(Object o)
Output a message without a newline.void
printDebug(Object o)
Output a debug error message if getDebug() is currently true.void
printError(Object o)
Output a message to error outputvoid
println(Object o)
Output a message with a newline.void
reset()
void
setDebug(boolean debug)
Change debug status.
-
-
-
Method Detail
-
getDebug
public boolean getDebug()
-
setDebug
public void setDebug(boolean debug)
Change debug status. If debug is enabled any subsequent debugging messages will be written to their outputs, creating files if necessary. If debug is disabled, all output to files ceases, and the files are closed.
-
print
public void print(Object o)
Description copied from interface:Output
Output a message without a newline.
-
println
public void println(Object o)
Description copied from interface:Output
Output a message with a newline.
-
printError
public void printError(Object o)
Description copied from interface:Output
Output a message to error output- Specified by:
printError
in interfaceOutput
- Parameters:
o
- the Object to output
-
printDebug
public void printDebug(Object o)
Description copied from interface:Output
Output a debug error message if getDebug() is currently true.- Specified by:
printDebug
in interfaceOutput
- Parameters:
o
- the Object to output
-
reset
public void reset()
-
-