org.vraptor.interceptor
Class BasicUploadedFileInformation

java.lang.Object
  extended by org.vraptor.interceptor.BasicUploadedFileInformation
All Implemented Interfaces:
UploadedFileInformation

public class BasicUploadedFileInformation
extends Object
implements UploadedFileInformation

Author:
Paulo Silveira

Constructor Summary
BasicUploadedFileInformation(File file, String completeFileName, String contentType)
           
 
Method Summary
 String getCompleteFileName()
          The complete file name from this file, as it was uploaded from the client.
 String getContentType()
           
 File getFile()
           
 String getFileName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicUploadedFileInformation

public BasicUploadedFileInformation(File file,
                                    String completeFileName,
                                    String contentType)
Method Detail

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.