public abstract class UploadedFileDefaultImplBase extends java.lang.Object implements UploadedFile
| Modifier | Constructor and Description |
|---|---|
protected |
UploadedFileDefaultImplBase(java.lang.String name,
java.lang.String contentType) |
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
getBytes()
Answer the uploaded file contents.
|
java.lang.String |
getContentType() |
abstract java.io.InputStream |
getInputStream()
Answer the uploaded file contents input stream
|
java.lang.String |
getName() |
abstract long |
getSize()
Answer the size of this file.
|
protected UploadedFileDefaultImplBase(java.lang.String name,
java.lang.String contentType)
public abstract byte[] getBytes()
throws java.io.IOException
getBytes in interface UploadedFilejava.io.IOExceptionpublic abstract java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface UploadedFilejava.io.IOExceptionpublic java.lang.String getContentType()
getContentType in interface UploadedFilepublic java.lang.String getName()
getName in interface UploadedFilepublic abstract long getSize()
getSize in interface UploadedFile