|
||||||||||
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. |
String |
getContentType()
|
InputStream |
getInputStream()
Answer the uploaded file contents input stream |
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 IOException
IOException
InputStream getInputStream() throws IOException
IOException
String getContentType()
String getName()
long getSize()
StorageStrategy getStorageStrategy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |