Package org.opennms.report
Class ReportMailer
- java.lang.Object
-
- org.opennms.report.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()
getAddressjava.lang.String
getFilename()
getFilenamevoid
send()
sendvoid
setAddress(java.lang.String address)
setAddressvoid
setFilename(java.lang.String filename)
setFilename
-
-
-
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
- aString
object.filename
- aString
object.subject
- aString
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
- aString
object.
-
getFilename
public java.lang.String getFilename()
getFilename
- Returns:
- a
String
object.
-
setFilename
public void setFilename(java.lang.String filename)
setFilename
- Parameters:
filename
- aString
object.
-
-