org.illeva.jordino.answer
Class AnswerFactory

java.lang.Object
  extended byorg.illeva.jordino.answer.AnswerFactory

public class AnswerFactory
extends java.lang.Object

This class builds the appropriate response message from an answer.

Since:
Jordino Version 1.0

Constructor Summary
AnswerFactory()
          Defaul constructor.
 
Method Summary
 javax.mail.internet.MimeMessage getResponse()
          Return the appropriate response to message.
 javax.mail.internet.MimeMessage run(javax.mail.internet.MimeMessage aMsg)
          Matches the Message with the correct answer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnswerFactory

public AnswerFactory()
Defaul constructor.

Method Detail

getResponse

public javax.mail.internet.MimeMessage getResponse()
Return the appropriate response to message.


run

public javax.mail.internet.MimeMessage run(javax.mail.internet.MimeMessage aMsg)
Matches the Message with the correct answer.