public interface UploadedFile
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Answer the uploaded file contents.
|
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream()
Answer the uploaded file contents input stream
|
java.lang.String |
getName() |
long |
getSize()
Answer the size of this file.
|
byte[] getBytes()
throws java.io.IOException
java.io.IOExceptionjava.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionjava.lang.String getContentType()
java.lang.String getName()
long getSize()