Package com.liferay.portal.kernel.upload
Interface FileItem
@ProviderType
public interface FileItem
- Author:
- Raymond Augé, Neil Griffin
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
getHeaders
(String name) long
getSize()
int
boolean
boolean
void
-
Field Details
-
THRESHOLD_SIZE
static final long THRESHOLD_SIZE
-
-
Method Details
-
delete
void delete() -
getContentType
String getContentType() -
getFieldName
String getFieldName() -
getFileName
String getFileName() -
getFileNameExtension
String getFileNameExtension() -
getFullFileName
String getFullFileName() -
getHeader
-
getHeaderNames
Collection<String> getHeaderNames() -
getHeaders
-
getInputStream
- Throws:
IOException
-
getSize
long getSize() -
getSizeThreshold
int getSizeThreshold() -
getStoreLocation
File getStoreLocation() -
getString
String getString() -
getTempFile
File getTempFile() -
isFormField
boolean isFormField() -
isInMemory
boolean isInMemory() -
write
- Throws:
Exception
-