com.ferri.portlet.utils
Class MailUtils.HTMLDataSource
java.lang.Object
com.ferri.portlet.utils.MailUtils.HTMLDataSource
- All Implemented Interfaces:
- DataSource
- Enclosing class:
- MailUtils
static class MailUtils.HTMLDataSource
- extends Object
- implements DataSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
html
private String html
MailUtils.HTMLDataSource
public MailUtils.HTMLDataSource(String htmlString)
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface DataSource
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream
in interface DataSource
- Throws:
IOException
getContentType
public String getContentType()
- Specified by:
getContentType
in interface DataSource
getName
public String getName()
- Specified by:
getName
in interface DataSource