|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UploadedFile
Method Summary | |
---|---|
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()
Returns the size of this file. |
StorageStrategy |
getStorageStrategy()
Allows to get more information/interact more with the file, depending on where it is stored |
Method Detail |
---|
byte[] getBytes() throws java.io.IOException
java.io.IOException
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
java.lang.String getContentType()
java.lang.String getName()
long getSize()
StorageStrategy getStorageStrategy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |