org.apache.myfaces.custom.fileupload
Class UploadedFileDefaultImplBase
java.lang.Object
org.apache.myfaces.custom.fileupload.UploadedFileDefaultImplBase
- Serializable, UploadedFile
public abstract class UploadedFileDefaultImplBase
extends java.lang.Object
$Revision: 209487 $ $Date: 2005-07-06 19:49:15 +0200 (Wed, 06 Jul 2005) $- Sylvain Vieujot (latest modification by $Author: grantsmith $)
UploadedFileDefaultImplBase
protected UploadedFileDefaultImplBase(String name,
String contentType)
getBytes
public abstract byte[] getBytes()
throws IOException
Answer the uploaded file contents.
- getBytes in interface UploadedFile
getInputStream
public abstract InputStream getInputStream()
throws IOException
Answer the uploaded file contents input stream
- getInputStream in interface UploadedFile
getSize
public abstract long getSize()
Answer the size of this file.
- getSize in interface UploadedFile