org.apache.myfaces.custom.fileupload

Class UploadedFileDefaultMemoryImpl

public class UploadedFileDefaultMemoryImpl extends UploadedFileDefaultImplBase

Version: $Revision: 225368 $ $Date: 2005-07-26 20:14:51 +0200 (Tue, 26 Jul 2005) $

Author: Sylvain Vieujot (latest modification by $Author: bdudney $)

Constructor Summary
UploadedFileDefaultMemoryImpl(FileItem fileItem)
Method Summary
byte[]getBytes()
Answer the uploaded file contents.
InputStreamgetInputStream()
Answer the uploaded file contents input stream
longgetSize()
Answer the size of this file.

Constructor Detail

UploadedFileDefaultMemoryImpl

public UploadedFileDefaultMemoryImpl(FileItem fileItem)

Method Detail

getBytes

public byte[] getBytes()
Answer the uploaded file contents.

Returns: file contents

getInputStream

public InputStream getInputStream()
Answer the uploaded file contents input stream

Returns: InputStream

Throws: IOException

getSize

public long getSize()
Answer the size of this file.

Returns: long