Class ReportMailer


  • public class ReportMailer
    extends java.lang.Object

    ReportMailer class.

    Version:
    $Id: $
    Author:
    Jonathan Sartin
    • Constructor Summary

      Constructors 
      Constructor Description
      ReportMailer()
      Constructor for ReportMailer.
      ReportMailer​(java.lang.String address, java.lang.String filename, java.lang.String subject)
      Constructor for ReportMailer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAddress()
      getAddress
      java.lang.String getFilename()
      getFilename
      void send()
      send
      void setAddress​(java.lang.String address)
      setAddress
      void setFilename​(java.lang.String filename)
      setFilename
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReportMailer

        public ReportMailer()

        Constructor for ReportMailer.

      • ReportMailer

        public ReportMailer​(java.lang.String address,
                            java.lang.String filename,
                            java.lang.String subject)

        Constructor for ReportMailer.

        Parameters:
        address - a String object.
        filename - a String object.
        subject - a String object.
    • Method Detail

      • send

        public void send()
                  throws java.io.IOException

        send

        Throws:
        java.io.IOException - if any.
      • getAddress

        public java.lang.String getAddress()

        getAddress

        Returns:
        a String object.
      • setAddress

        public void setAddress​(java.lang.String address)

        setAddress

        Parameters:
        address - a String object.
      • getFilename

        public java.lang.String getFilename()

        getFilename

        Returns:
        a String object.
      • setFilename

        public void setFilename​(java.lang.String filename)

        setFilename

        Parameters:
        filename - a String object.