railo.runtime.net.smtp
Class StringDataSource
java.lang.Object
railo.runtime.net.smtp.StringDataSource
- All Implemented Interfaces:
- DataSource
public final class StringDataSource
- extends Object
- implements DataSource
StringDataSource
public StringDataSource(String text,
String ct,
String charset)
getContentType
public String getContentType()
- Specified by:
getContentType
in interface DataSource
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface DataSource
- Throws:
IOException
getName
public String getName()
- Specified by:
getName
in interface DataSource
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream
in interface DataSource
- Throws:
IOException
Copyright © 2012 Railo