nl.pbemengine.engine.ng.base.email
Class MailFetcher

java.lang.Object
  extended by nl.pbemengine.engine.ng.base.email.MailFetcher

public class MailFetcher
extends java.lang.Object

Class that fetches e-mails from a given POP3 account when instructed to do so, and places them in a database. This is essentially a wrapper around GNU JavaMail

Author:
Jeroen Steenbeeke

Constructor Summary
MailFetcher(java.lang.String pop3ServerURL, java.lang.String pop3Username, java.lang.String pop3Password, int pop3Port)
           
 
Method Summary
 java.util.List<Mail> getMails(int game_id)
           
 void setMailDAO(MailDAO mailDAO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailFetcher

public MailFetcher(java.lang.String pop3ServerURL,
                   java.lang.String pop3Username,
                   java.lang.String pop3Password,
                   int pop3Port)
Method Detail

setMailDAO

public void setMailDAO(MailDAO mailDAO)

getMails

public java.util.List<Mail> getMails(int game_id)


Copyright © 2008. All Rights Reserved.