@ProviderType
public interface FileItem
Modifier and Type | Field and Description |
---|---|
static long |
THRESHOLD_SIZE |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
String |
getContentType() |
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 |
write(File file) |
void delete()
String getContentType()
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 write(File file) throws Exception
Exception