Package org.primefaces.model.file
Class NIOUploadedFile
- All Implemented Interfaces:
Serializable
,UploadedFile
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
long
getSize()
protected InputStream
protected void
Methods 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:
getContentType
in interfaceUploadedFile
-
getSize
public long getSize()- Specified by:
getSize
in interfaceUploadedFile
-
delete
- Specified by:
delete
in interfaceUploadedFile
- Throws:
IOException
-
getSourceInputStream
- Specified by:
getSourceInputStream
in classAbstractUploadedFile<Path>
- Throws:
IOException
-
write
- Specified by:
write
in classAbstractUploadedFile<Path>
- Throws:
IOException
-