public class PartDataSource extends Object implements DataSource
| Constructor and Description |
|---|
PartDataSource(Part part) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
Part |
getPart() |
public PartDataSource(Part part)
public InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionpublic String getContentType()
getContentType in interface DataSourcepublic String getName()
getName in interface DataSourcepublic Part getPart()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.