public class UploadedFile extends Object
Constructor and Description |
---|
UploadedFile(String fileName,
InputStream uploadedInputStream,
String contentType,
boolean isInMemory,
long sizeInBytes) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getFileName() |
InputStream |
getInputStream() |
long |
getSize()
The size of the file in bytes.
|
boolean |
isInMemory()
Returns whether the file has been saved
to a temporary location or is in memory.
|
public UploadedFile(String fileName, InputStream uploadedInputStream, String contentType, boolean isInMemory, long sizeInBytes)
public String getFileName()
public InputStream getInputStream()
public String getContentType()
public boolean isInMemory()
public long getSize()
Copyright © 2011-2012 MojaveMVC.org