org.mule.transport.http.multipart
Class PartDataSource

java.lang.Object
  extended by org.mule.transport.http.multipart.PartDataSource
All Implemented Interfaces:
javax.activation.DataSource

public class PartDataSource
extends java.lang.Object
implements javax.activation.DataSource

TODO


Constructor Summary
PartDataSource(Part part)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream()
           
 Part getPart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartDataSource

public PartDataSource(Part part)
Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface javax.activation.DataSource
Throws:
java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Specified by:
getOutputStream in interface javax.activation.DataSource
Throws:
java.io.IOException

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface javax.activation.DataSource

getName

public java.lang.String getName()
Specified by:
getName in interface javax.activation.DataSource

getPart

public Part getPart()


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.