Package org.primefaces.model.file
Class NIOUploadedFile
- All Implemented Interfaces:
Serializable,UploadedFile
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()longgetSize()protected InputStreamprotected voidMethods inherited from class org.primefaces.model.file.AbstractUploadedFile
getContent, getFileName, getInputStream, getSource, getWebkitRelativePath, write
-
Constructor Details
-
NIOUploadedFile
public NIOUploadedFile() -
NIOUploadedFile
-
-
Method Details
-
getContentType
- Specified by:
getContentTypein interfaceUploadedFile
-
getSize
public long getSize()- Specified by:
getSizein interfaceUploadedFile
-
delete
- Specified by:
deletein interfaceUploadedFile- Throws:
IOException
-
getSourceInputStream
- Specified by:
getSourceInputStreamin classAbstractUploadedFile<Path>- Throws:
IOException
-
write
- Specified by:
writein classAbstractUploadedFile<Path>- Throws:
IOException
-