Changeset 556:6f74740eea6e

Show
Ignore:
Timestamp:
09/28/09 16:41:18 (4 years ago)
Author:
tgambet
Branch:
default
convert_revision:
svn:cdcfb263-7567-472c-a848-e2c2df3466e7/trunk@557
Message:

added TODO

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/org/w3c/unicorn/output/MailOutputModule.java

    r538 r556  
    1 // $Id: MailOutputModule.java,v 1.9 2009-09-24 17:42:22 tgambet Exp $ 
     1// $Id: MailOutputModule.java,v 1.10 2009-09-28 16:41:18 tgambet Exp $ 
    22// Author: Thomas Gambet 
    33// (c) COPYRIGHT MIT, ERCIM and Keio, 2009. 
     
    4848                if (mapOfSpecificParameters.get("format") != null) 
    4949                        format = mapOfSpecificParameters.get("format"); 
     50                if (mapOfSpecificParameters.get("mimetype") != null) 
     51                        mimeType = mapOfSpecificParameters.get("mimetype"); 
    5052                 
    5153                mailOutputFormater = OutputFactory.createOutputFormater(format, lang, mimeType); 
     
    7072        @SuppressWarnings("unchecked") 
    7173        public void produceOutput(Map<String, Object> mapOfStringObject, final Writer aWriter) { 
     74                 
     75                 
     76                // TODO http://java.sun.com/developer/EJTechTips/2004/tt0625.html#1 for multipart messages 
     77                 
    7278                 
    7379                if (recipient == null) 
     
    97103                        // Setting the Subject and Content Type 
    98104                        UnicornCall uniCall = (UnicornCall) mapOfStringObject.get("unicorncall"); 
    99                         boolean passed = ((UnicornCall) mapOfStringObject.get("unicorncall")).isPassed(); 
     105                        boolean passed = uniCall.isPassed(); 
    100106                         
    101107                        String subject = "[Unicorn] ";