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

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

public class BinaryAttachment
extends Object
implements DataSource


Constructor Summary
BinaryAttachment(String name, String contentType, InputStream content)
           
 
Method Summary
 String getContentType()
           
 InputStream getInputStream()
           
 String getName()
           
 OutputStream getOutputStream()
           
 byte[] getRawContent()
           
 long getSize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryAttachment

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

getContentType

public String getContentType()
Specified by:
getContentType in interface DataSource

getRawContent

public byte[] getRawContent()

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

getSize

public long getSize()


Copyright 2010 E-Government Innovation Center (EGIZ). All Rights Reserved.