Package org.glassfish.admin.amx.util
Class OutputIgnore
- java.lang.Object
-
- org.glassfish.admin.amx.util.OutputIgnore
-
-
Field Summary
Fields Modifier and Type Field Description static OutputIgnore
INSTANCE
-
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.
-
-
-
Field Detail
-
INSTANCE
public static final OutputIgnore INSTANCE
-
-
Method Detail
-
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
-
getDebug
public boolean getDebug()
-
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
-
-