|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.custom.fileupload.UploadedFileDefaultImplBase
org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl
public class UploadedFileDefaultFileImpl
Constructor Summary | |
---|---|
UploadedFileDefaultFileImpl(org.apache.commons.fileupload.FileItem fileItem)
|
Method Summary | |
---|---|
byte[] |
getBytes()
Answer the uploaded file contents. |
java.io.InputStream |
getInputStream()
Answer the uploaded file contents input stream |
long |
getSize()
Answer the size of this file. |
StorageStrategy |
getStorageStrategy()
Allows to get more information/interact more with the file, depending on where it is stored |
Methods inherited from class org.apache.myfaces.custom.fileupload.UploadedFileDefaultImplBase |
---|
getContentType, getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UploadedFileDefaultFileImpl(org.apache.commons.fileupload.FileItem fileItem) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public byte[] getBytes() throws java.io.IOException
getBytes
in interface UploadedFile
getBytes
in class UploadedFileDefaultImplBase
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface UploadedFile
getInputStream
in class UploadedFileDefaultImplBase
java.io.IOException
public long getSize()
getSize
in interface UploadedFile
getSize
in class UploadedFileDefaultImplBase
public StorageStrategy getStorageStrategy()
UploadedFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |