adams.data.io.output
Class AbstractEmailFileWriter

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.data.io.output.AbstractEmailWriter
              extended by adams.data.io.output.AbstractEmailFileWriter
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, SizeOfHandler, EmailFileWriter, EmailWriter, Serializable
Direct Known Subclasses:
PlainTextEmailFileWriter, PropertiesEmailFileWriter

public abstract class AbstractEmailFileWriter
extends AbstractEmailWriter
implements EmailFileWriter

Ancestor for email writers that write to files.

Version:
$Revision: 7123 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
Serialized Form

Field Summary
protected  PlaceholderFile m_Output
          the file to read the email from.
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
AbstractEmailFileWriter()
           
 
Method Summary
 void defineOptions()
          Adds options to the internal list of options.
 PlaceholderFile getOutput()
          Returns the file to write the email to.
 String outputTipText()
          Returns the tip text for this property.
 void setOutput(PlaceholderFile value)
          Sets the file to write the email to.
 
Methods inherited from class adams.data.io.output.AbstractEmailWriter
check, doWrite, write
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString
 
Methods inherited from class adams.core.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface adams.data.io.output.EmailFileWriter
getFormatDescription, getFormatExtensions
 
Methods inherited from interface adams.data.io.output.EmailWriter
write
 

Field Detail

m_Output

protected PlaceholderFile m_Output
the file to read the email from.

Constructor Detail

AbstractEmailFileWriter

public AbstractEmailFileWriter()
Method Detail

defineOptions

public void defineOptions()
Adds options to the internal list of options.

Specified by:
defineOptions in interface OptionHandler
Overrides:
defineOptions in class AbstractOptionHandler

setOutput

public void setOutput(PlaceholderFile value)
Sets the file to write the email to.

Specified by:
setOutput in interface EmailFileWriter
Parameters:
value - the file

getOutput

public PlaceholderFile getOutput()
Returns the file to write the email to.

Specified by:
getOutput in interface EmailFileWriter
Returns:
the file

outputTipText

public String outputTipText()
Returns the tip text for this property.

Specified by:
outputTipText in interface EmailFileWriter
Returns:
tip text for this property suitable for displaying in the GUI or for listing the options.


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.