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 DataSource
public InputStream getInputStream() throws IOException
getInputStream
in interface DataSource
IOException
public String getName()
getName
in interface DataSource
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
public void delete()
Copyright © 2016 WSO2 Inc. All rights reserved.