org.vraptor.interceptor
Class BasicUploadedFileInformation
java.lang.Object
org.vraptor.interceptor.BasicUploadedFileInformation
- All Implemented Interfaces:
- UploadedFileInformation
public class BasicUploadedFileInformation
- extends Object
- implements UploadedFileInformation
- Author:
- Paulo Silveira
BasicUploadedFileInformation
public BasicUploadedFileInformation(File file,
String completeFileName,
String contentType)
toString
public String toString()
- Overrides:
toString in class Object
- See Also:
Object.toString()
getContentType
public String getContentType()
- Specified by:
getContentType in interface UploadedFileInformation
- Returns:
- Returns the contentType.
- See Also:
UploadedFileInformation.getContentType()
getFile
public File getFile()
- Specified by:
getFile in interface UploadedFileInformation
- Returns:
- Returns the file.
- See Also:
UploadedFileInformation.getFile()
getFileName
public String getFileName()
- Specified by:
getFileName in interface UploadedFileInformation
- Returns:
- Returns the fileName.
- See Also:
UploadedFileInformation.getFileName()
getCompleteFileName
public String getCompleteFileName()
- Description copied from interface:
UploadedFileInformation
- The complete file name from this file, as it was uploaded from the
client.
- Specified by:
getCompleteFileName in interface UploadedFileInformation
- Returns:
- Returns the fileName.
- See Also:
UploadedFileInformation.getCompleteFileName()
Copyright © 2004-2008 VRaptor. All Rights Reserved.