| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.myfaces.custom.fileupload.UploadedFileDefaultImplBaseorg.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImplpublic class UploadedFileDefaultFileImplextends UploadedFileDefaultImplBaseConstructor Summary | |
| |
Method Summary | |
byte[] |
|
InputStream |
|
long |
|
Methods inherited from class org.apache.myfaces.custom.fileupload.UploadedFileDefaultImplBase | |
getBytes, getContentType, getInputStream, getName, getSize | |
public byte[] getBytes()
throws IOExceptionAnswer the uploaded file contents.
- Specified by:
- getBytes in interface UploadedFile
- Overrides:
- getBytes in interface UploadedFileDefaultImplBase
- Returns:
- file contents
public InputStream getInputStream()
throws IOExceptionAnswer the uploaded file contents input stream
- Specified by:
- getInputStream in interface UploadedFile
- Overrides:
- getInputStream in interface UploadedFileDefaultImplBase
- Returns:
- InputStream
public long getSize()
Answer the size of this file.
- Specified by:
- getSize in interface UploadedFile
- Overrides:
- getSize in interface UploadedFileDefaultImplBase
- Returns:
- long