org.mentawai.mail
Class TextLetter

java.lang.Object
  extended by org.mentawai.mail.TextLetter
All Implemented Interfaces:
Letter

public class TextLetter
extends Object
implements Letter


Field Summary
static String CHARSET
           
 
Constructor Summary
TextLetter(String filename)
           
TextLetter(String filename, String dir)
           
 
Method Summary
 String getSubject()
           
 String getSubject(Locale loc)
           
 String getText()
           
 String getText(Locale loc)
           
 void setAttribute(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHARSET

public static String CHARSET
Constructor Detail

TextLetter

public TextLetter(String filename)

TextLetter

public TextLetter(String filename,
                  String dir)
Method Detail

setAttribute

public void setAttribute(String name,
                         Object value)
Specified by:
setAttribute in interface Letter

getText

public String getText(Locale loc)
               throws Exception
Specified by:
getText in interface Letter
Throws:
Exception

getText

public String getText()
               throws Exception
Specified by:
getText in interface Letter
Throws:
Exception

getSubject

public String getSubject(Locale loc)
                  throws Exception
Specified by:
getSubject in interface Letter
Throws:
Exception

getSubject

public String getSubject()
                  throws Exception
Specified by:
getSubject in interface Letter
Throws:
Exception


Copyright © 2013. All Rights Reserved.