public class DiskFileDataSource extends Object implements DataSource
Constructor and Description |
---|
DiskFileDataSource(org.apache.commons.fileupload.disk.DiskFileItem diskFileItem) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public DiskFileDataSource(org.apache.commons.fileupload.disk.DiskFileItem diskFileItem)
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 © 2004–2015 The Apache Software Foundation. All rights reserved.