com.quadrique.jbuildingblocks.core.io.email
Class JbbEmailDataSource

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.io.email.JbbEmailDataSource
All Implemented Interfaces:
DataSource
Direct Known Subclasses:
JbbEmailByteArrayDataSource, JbbEmailFileDataSource, JbbEmailInputStreamDataSource, JbbEmailStringDataSource

public class JbbEmailDataSource
extends Object
implements DataSource

base class for email data sources (JavaMail only provides FileDataSource)


Constructor Summary
JbbEmailDataSource(String zMimeContentType)
           
 
Method Summary
 String getContentType()
           
 InputStream getInputStream()
           
 String getName()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbbEmailDataSource

public JbbEmailDataSource(String zMimeContentType)
Parameters:
zMimeContentType - ...
Method Detail

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


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.