com.instantbank.lettertemplate.control.web.handlers
Class UploadedFile

java.lang.Object
  |
  +--com.instantbank.lettertemplate.control.web.handlers.UploadedFile

class UploadedFile
extends java.lang.Object

A class to hold information about an uploaded file.


Field Summary
private  java.lang.String dir
           
private  java.lang.String filename
           
private  java.lang.String type
           
 
Constructor Summary
(package private) UploadedFile(java.lang.String dir, java.lang.String filename, java.lang.String type)
          Constructor for the UploadedFile object
 
Method Summary
 java.lang.String getContentType()
          Gets the contentType attribute of the UploadedFile object
 java.io.File getFile()
          Gets the file attribute of the UploadedFile object
 java.lang.String getFilesystemName()
          Gets the filesystemName attribute of the UploadedFile object
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

dir

private java.lang.String dir

filename

private java.lang.String filename

type

private java.lang.String type
Constructor Detail

UploadedFile

UploadedFile(java.lang.String dir,
             java.lang.String filename,
             java.lang.String type)
Constructor for the UploadedFile object
Parameters:
dir - Description of the Parameter
filename - Description of the Parameter
type - Description of the Parameter
Method Detail

getContentType

public java.lang.String getContentType()
Gets the contentType attribute of the UploadedFile object
Returns:
The contentType value

getFilesystemName

public java.lang.String getFilesystemName()
Gets the filesystemName attribute of the UploadedFile object
Returns:
The filesystemName value

getFile

public java.io.File getFile()
Gets the file attribute of the UploadedFile object
Returns:
The file value