org.mule.transport.http.multipart
Class PartDataSource

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

public class PartDataSource
extends Object
implements DataSource

TODO


Constructor Summary
PartDataSource(Part part)
           
 
Method Summary
 String getContentType()
           
 InputStream getInputStream()
           
 String getName()
           
 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 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

getPart

public Part getPart()


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