@ProviderType
public interface FileItem
Modifier and Type | Method and Description |
---|---|
void |
delete() |
String |
getContentType() |
String |
getEncodedString() |
String |
getFieldName() |
String |
getFileName() |
String |
getFileNameExtension() |
String |
getFullFileName() |
String |
getHeader(String name) |
Collection<String> |
getHeaderNames() |
Collection<String> |
getHeaders(String name) |
InputStream |
getInputStream() |
long |
getSize() |
int |
getSizeThreshold() |
File |
getStoreLocation() |
String |
getString() |
boolean |
isFormField() |
boolean |
isInMemory() |
void |
setString(String encode) |
void |
write(File file) |
void delete()
String getContentType()
String getEncodedString()
String getFieldName()
String getFileName()
String getFileNameExtension()
String getFullFileName()
String getHeader(String name)
Collection<String> getHeaderNames()
Collection<String> getHeaders(String name)
InputStream getInputStream() throws IOException
IOException
long getSize()
int getSizeThreshold()
File getStoreLocation()
String getString()
boolean isFormField()
boolean isInMemory()
void setString(String encode)
void write(File file) throws Exception
Exception