com.isomorphic.servlet
Class ISCFileItem

java.lang.Object
  |
  +--com.isomorphic.servlet.ISCFileItem
All Implemented Interfaces:
org.apache.commons.fileupload.FileItem, java.io.Serializable

public class ISCFileItem
extends java.lang.Object
implements org.apache.commons.fileupload.FileItem

This class is based on the Apache Commons FileUpload FileItem class, providing uploaded file APIs for the SmartClient Server.

See Also:
Serialized Form

Method Summary
 byte[] get()
           
 java.lang.String getFileName()
           
 java.io.InputStream getInputStream()
           
 long getSize()
           
 

Method Detail

get

public byte[] get()
Specified by:
get in interface org.apache.commons.fileupload.FileItem
Returns:
bytes of the uploaded file

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface org.apache.commons.fileupload.FileItem
Returns:
uploaded file an InputStream

getSize

public long getSize()
Specified by:
getSize in interface org.apache.commons.fileupload.FileItem
Returns:
size of the uploaded file in bytes

getFileName

public java.lang.String getFileName()
Returns:
filename as it appears in the upload field on the client (typically includes full path to file on the user's machine)