org.jdiagnose.remote.file
Class BasicFileEmitter

java.lang.Object
  extended byorg.jdiagnose.remote.file.BasicFileEmitter
All Implemented Interfaces:
Emitter

public class BasicFileEmitter
extends java.lang.Object
implements Emitter

Author:
jamie

Field Summary
static java.lang.String LINE_SEPARATOR
           
 
Constructor Summary
BasicFileEmitter()
           
BasicFileEmitter(java.io.File file)
           
BasicFileEmitter(java.lang.String fileName)
           
 
Method Summary
 void destroy()
           
 void emit(java.lang.StringBuffer value)
           
 java.io.File getFile()
           
 void init()
           
 void setFile(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINE_SEPARATOR

public static final java.lang.String LINE_SEPARATOR
Constructor Detail

BasicFileEmitter

public BasicFileEmitter()

BasicFileEmitter

public BasicFileEmitter(java.lang.String fileName)

BasicFileEmitter

public BasicFileEmitter(java.io.File file)
Method Detail

init

public void init()
          throws java.io.IOException
Throws:
java.io.IOException

destroy

public void destroy()
             throws java.io.IOException
Throws:
java.io.IOException

setFile

public void setFile(java.io.File file)
Parameters:
file - The file to set.

getFile

public java.io.File getFile()

emit

public void emit(java.lang.StringBuffer value)
Specified by:
emit in interface Emitter


Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.