public class FileItemDataSource extends Object implements DataSource
| Constructor and Description |
|---|
FileItemDataSource(org.apache.commons.fileupload.FileItem fileItem) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public FileItemDataSource(org.apache.commons.fileupload.FileItem fileItem)
public String getContentType()
getContentType in interface DataSourcepublic InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic String getName()
getName in interface DataSourcepublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionpublic void delete()
Copyright © 2015 WSO2 Inc. All rights reserved.