Class FileData
java.lang.Object
org.qubership.atp.itf.lite.backend.model.entities.gridfs.FileData
- All Implemented Interfaces:
Serializable,org.springframework.core.io.InputStreamSource,org.springframework.web.multipart.MultipartFile
public class FileData
extends Object
implements org.springframework.web.multipart.MultipartFile, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.multipart.MultipartFile
getContentType, getResource, transferTo
-
Constructor Details
-
FileData
-
FileData
Constructor FileData.
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.springframework.web.multipart.MultipartFile
-
getOriginalFilename
- Specified by:
getOriginalFilenamein interfaceorg.springframework.web.multipart.MultipartFile
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceorg.springframework.web.multipart.MultipartFile
-
getSize
public long getSize()- Specified by:
getSizein interfaceorg.springframework.web.multipart.MultipartFile
-
getBytes
- Specified by:
getBytesin interfaceorg.springframework.web.multipart.MultipartFile- Throws:
IOException
-
getInputStream
- Specified by:
getInputStreamin interfaceorg.springframework.core.io.InputStreamSource- Specified by:
getInputStreamin interfaceorg.springframework.web.multipart.MultipartFile- Throws:
IOException
-
transferTo
- Specified by:
transferToin interfaceorg.springframework.web.multipart.MultipartFile- Throws:
IOExceptionIllegalStateException
-