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 voidclose()Done with it, can be destroyed.booleangetDebug()voidprint(Object o)Output a message without a newline.voidprintDebug(Object o)Output a debug error message if getDebug() is currently true.voidprintError(Object o)Output a message to error outputvoidprintln(Object o)Output a message with a newline.voidreset()voidsetDebug(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:OutputOutput a message without a newline.
-
println
public void println(Object o)
Description copied from interface:OutputOutput a message with a newline.
-
printError
public void printError(Object o)
Description copied from interface:OutputOutput a message to error output- Specified by:
printErrorin interfaceOutput- Parameters:
o- the Object to output
-
printDebug
public void printDebug(Object o)
Description copied from interface:OutputOutput a debug error message if getDebug() is currently true.- Specified by:
printDebugin interfaceOutput- Parameters:
o- the Object to output
-
reset
public void reset()
-
-