Package org.glassfish.admin.amx.util
Class FileOutput
- java.lang.Object
-
- org.glassfish.admin.amx.util.FileOutput
-
-
Constructor Summary
Constructors Constructor Description FileOutput(File f)FileOutput(File f, boolean append)
-
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.
-
-
-
Method Detail
-
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
-
getDebug
public boolean getDebug()
-
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
-
-