org.mule.transport.http.multipart
Class PartDataSource
java.lang.Object
org.mule.transport.http.multipart.PartDataSource
- All Implemented Interfaces:
- DataSource
public class PartDataSource
- extends Object
- implements DataSource
TODO
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartDataSource
public PartDataSource(Part part)
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.