public class FileItemStreamData extends java.lang.Object implements MimeStreamData
FileItem that converts it into a StreamData| Constructor and Description |
|---|
FileItemStreamData(AppContext conn,
FileItem i) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
get the Mime type associated with the Data
|
java.io.InputStream |
getInputStream()
get an InputStream to read the state of the obect
|
long |
getLength()
get the size of data held in the object
|
java.lang.String |
getName()
Get the original filename associated with the data.
|
java.io.OutputStream |
getOutputStream()
Get an OutputStream used to modify the state of the object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, read, writepublic FileItemStreamData(AppContext conn, FileItem i)
public java.lang.String getContentType()
MimeStreamDatagetContentType in interface MimeStreamDatapublic java.lang.String getName()
MimeStreamDatagetName in interface MimeStreamDatapublic long getLength()
StreamDatagetLength in interface StreamDatapublic java.io.InputStream getInputStream()
StreamDatagetInputStream in interface StreamDatapublic java.io.OutputStream getOutputStream()
StreamDatagetOutputStream in interface StreamData