at.gv.zustellung.zusemsg.wsdl.client.attachments
Class MailBody

java.lang.Object
  extended by at.gv.zustellung.zusemsg.wsdl.client.attachments.MailBody
All Implemented Interfaces:
DataSource

public class MailBody
extends Object
implements DataSource


Field Summary
static List<String> SUPPORTED_TYPES
           
static String TEXT_HTML
           
static String TEXT_PLAIN
           
 
Constructor Summary
MailBody(String contentType, InputStream content)
           
 
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
 

Field Detail

TEXT_HTML

public static final String TEXT_HTML
See Also:
Constant Field Values

TEXT_PLAIN

public static final String TEXT_PLAIN
See Also:
Constant Field Values

SUPPORTED_TYPES

public static final List<String> SUPPORTED_TYPES
Constructor Detail

MailBody

public MailBody(String contentType,
                InputStream content)
         throws IOException
Throws:
IOException
Method Detail

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 2010 E-Government Innovation Center (EGIZ). All Rights Reserved.