FileDocCategorySizeDatePackage
CmdOutputToFile.javaAPI DocGlassfish v2 API2818Fri May 04 22:24:50 BST 2007com.sun.cli.jmx.cmd

CmdOutputToFile

public class CmdOutputToFile extends Object implements CmdOutput

Fields Summary
final PrintStream
mOutput
Constructors Summary
CmdOutputToFile(File theFile)

		theFile.createNewFile( );
		mOutput	= new PrintStream( new FileOutputStream( theFile, true ) );
	
Methods Summary
public voidclose()

		mOutput.close();
	
public voidprint(java.lang.Object o)

		mOutput.print( o );
	
public voidprintDebug(java.lang.Object o)

		println( o );
	
public voidprintError(java.lang.Object o)

		mOutput.println( o );
	
public voidprintln(java.lang.Object o)

		mOutput.println( o );