net.sf.imca.model
Class ImcaUtils

java.lang.Object
  extended by net.sf.imca.model.ImcaUtils

public class ImcaUtils
extends java.lang.Object


Field Summary
static java.lang.String IMCA_DATE_PATTERN
           
static java.lang.String IMCA_MESSAGE_BUNDLE_BASE
           
static java.lang.String MAIL_ENCODING
           
 
Constructor Summary
ImcaUtils()
           
 
Method Summary
static javax.mail.internet.MimeMessage createEmailMessage()
           
static java.lang.String formatDate(java.util.Date date)
           
static java.lang.String[] getCountryCodes()
           
static java.lang.String[] getCurrencyCodes()
           
static java.lang.String getMessage(java.lang.String messageKey, java.util.Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMCA_DATE_PATTERN

public static final java.lang.String IMCA_DATE_PATTERN
See Also:
Constant Field Values

MAIL_ENCODING

public static final java.lang.String MAIL_ENCODING
See Also:
Constant Field Values

IMCA_MESSAGE_BUNDLE_BASE

public static final java.lang.String IMCA_MESSAGE_BUNDLE_BASE
See Also:
Constant Field Values
Constructor Detail

ImcaUtils

public ImcaUtils()
Method Detail

getCountryCodes

public static java.lang.String[] getCountryCodes()

getCurrencyCodes

public static java.lang.String[] getCurrencyCodes()

createEmailMessage

public static javax.mail.internet.MimeMessage createEmailMessage()
                                                          throws javax.mail.MessagingException
Throws:
javax.mail.MessagingException

getMessage

public static java.lang.String getMessage(java.lang.String messageKey,
                                          java.util.Locale locale)

formatDate

public static java.lang.String formatDate(java.util.Date date)


Copyright © 2007-2008 The International Moth Class Association (IMCA).. All Rights Reserved.