org.mentawai.mail
Class VelocityLetter
java.lang.Object
org.mentawai.mail.VelocityLetter
- All Implemented Interfaces:
- Letter
public class VelocityLetter
- extends Object
- implements Letter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHARSET
public static String CHARSET
VelocityLetter
public VelocityLetter(String filename)
VelocityLetter
public VelocityLetter(String filename,
String dir)
throws Exception
- Throws:
Exception
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 © 2012. All Rights Reserved.