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 |
dir
private java.lang.String dir
filename
private java.lang.String filename
type
private java.lang.String type
UploadedFile
UploadedFile(java.lang.String dir,
java.lang.String filename,
java.lang.String type)
- Constructor for the UploadedFile object
- Parameters:
dir
- Description of the Parameterfilename
- Description of the Parametertype
- Description of the Parameter
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