public class DefaultUploadedFile extends java.lang.Object implements UploadedFile
UploadedFile
.Constructor and Description |
---|
DefaultUploadedFile(java.io.InputStream content,
java.lang.String completeFileName,
java.lang.String contentType,
long size) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompleteFileName() |
java.lang.String |
getContentType() |
java.io.InputStream |
getFile() |
java.lang.String |
getFileName() |
long |
getSize() |
java.lang.String |
toString() |
public DefaultUploadedFile(java.io.InputStream content, java.lang.String completeFileName, java.lang.String contentType, long size)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getContentType()
getContentType
in interface UploadedFile
public java.io.InputStream getFile()
getFile
in interface UploadedFile
public java.lang.String getFileName()
getFileName
in interface UploadedFile
public java.lang.String getCompleteFileName()
public long getSize()
getSize
in interface UploadedFile
Copyright © 2013 Caelum. All Rights Reserved.