com.flickrrecsys.util
Class EmailGenerator

java.lang.Object
  extended by com.flickrrecsys.util.EmailGenerator

public class EmailGenerator
extends java.lang.Object

Author:
Hossein Ghodsi

Constructor Summary
EmailGenerator()
           
 
Method Summary
 java.lang.Object clone()
           
 void sendEmail(java.lang.String content, java.lang.String to, java.lang.String subject, java.lang.String servletPath)
          This method sends out emails
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailGenerator

public EmailGenerator()
Method Detail

sendEmail

public void sendEmail(java.lang.String content,
                      java.lang.String to,
                      java.lang.String subject,
                      java.lang.String servletPath)
               throws java.lang.Exception
This method sends out emails

Parameters:
content - the content of the email
to - to whome the email will be sent to
subject - Subject of the email
Throws:
java.lang.Exception

clone

public final java.lang.Object clone()
                             throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException