Package org.primefaces.model.file
Interface UploadedFile
-
- All Known Implementing Classes:
CommonsUploadedFile
,NativeUploadedFile
,NIOUploadedFile
,UploadedFileWrapper
public interface UploadedFile
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete()
byte[]
getContent()
String
getContentType()
String
getFileName()
InputStream
getInputStream()
long
getSize()
void
write(String filePath)
-
-
-
Method Detail
-
getFileName
String getFileName()
-
getInputStream
InputStream getInputStream() throws IOException
- Throws:
IOException
-
getContent
byte[] getContent()
-
getContentType
String getContentType()
-
getSize
long getSize()
-
delete
void delete() throws IOException
- Throws:
IOException
-
-